drm/i915/gvt: Fix tiled memory decoding bug on BDW
authorTina Zhang <tina.zhang@intel.com>
Mon, 3 Dec 2018 08:29:23 +0000 (16:29 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 3 Dec 2018 09:03:21 +0000 (17:03 +0800)
commita40fa231bb64b33e2cd54cf8ef44a9f89875fa11
tree866b171eece2f41cebd68cb209813ba7cd4230d2
parent7513edbc096a006f967eaf39088091442e623b83
drm/i915/gvt: Fix tiled memory decoding bug on BDW

Commit b244ffa15c8b ("drm/i915/gvt: Fix drm_format_mod value for vGPU
plane") introduced a regression issue to the tiled memory decoding on BDW.

This patch can fix this issue.

Here is the issue detail: https://github.com/intel/gvt-linux/issues/61

v1->v2:
- Refine the commit message. (Zhenyu)

Fixes: b244ffa15c8b("drm/i915/gvt: Fix drm_format_mod value for vGPU plane")
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
Cc: stable@vger.kernel.org # v4.19+
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/fb_decoder.c