Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'gvt-fixes-2018-12-04' of https://github.com/intel/gvt-linux into drm-intel-fixes

gvt-fixes-2018-12-04

- Fix tiling mode format on BDW for VFIO gfx dmabuf (Tina)

Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
From: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181204050633.GY12743@zhen-hp.sh.intel.com

+1 -1
+1 -1
drivers/gpu/drm/i915/gvt/fb_decoder.c
··· 235 235 plane->bpp = skl_pixel_formats[fmt].bpp; 236 236 plane->drm_format = skl_pixel_formats[fmt].drm_format; 237 237 } else { 238 - plane->tiled = !!(val & DISPPLANE_TILED); 238 + plane->tiled = val & DISPPLANE_TILED; 239 239 fmt = bdw_format_to_drm(val & DISPPLANE_PIXFORMAT_MASK); 240 240 plane->bpp = bdw_pixel_formats[fmt].bpp; 241 241 plane->drm_format = bdw_pixel_formats[fmt].drm_format;