diff options
author | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2018-12-05 15:51:46 +0200 |
---|---|---|
committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2018-12-05 15:51:47 +0200 |
commit | d76b21ebf8ff0ec5030e98c64c50dca2254474f3 (patch) | |
tree | d782489568e137a6ee9e20a38484d4fafa9edef5 /drivers | |
parent | 90098efacc4c3e2e4f6262a657d6b520ecfb2555 (diff) | |
parent | a40fa231bb64b33e2cd54cf8ef44a9f89875fa11 (diff) | |
download | linux-stable-d76b21ebf8ff0ec5030e98c64c50dca2254474f3.tar.gz linux-stable-d76b21ebf8ff0ec5030e98c64c50dca2254474f3.tar.bz2 linux-stable-d76b21ebf8ff0ec5030e98c64c50dca2254474f3.zip |
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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/fb_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/fb_decoder.c b/drivers/gpu/drm/i915/gvt/fb_decoder.c index 481896fb712a..85e6736f0a32 100644 --- a/drivers/gpu/drm/i915/gvt/fb_decoder.c +++ b/drivers/gpu/drm/i915/gvt/fb_decoder.c @@ -235,7 +235,7 @@ int intel_vgpu_decode_primary_plane(struct intel_vgpu *vgpu, plane->bpp = skl_pixel_formats[fmt].bpp; plane->drm_format = skl_pixel_formats[fmt].drm_format; } else { - plane->tiled = !!(val & DISPPLANE_TILED); + plane->tiled = val & DISPPLANE_TILED; fmt = bdw_format_to_drm(val & DISPPLANE_PIXFORMAT_MASK); plane->bpp = bdw_pixel_formats[fmt].bpp; plane->drm_format = bdw_pixel_formats[fmt].drm_format; |