drm/i915/gvt: Fix BDW command parser regression
authorZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 14 Apr 2021 08:48:12 +0000 (16:48 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 16 Apr 2021 05:41:41 +0000 (13:41 +0800)
commit6b5b2a5bcfe9a250da19bac4ef7cabdc81d154ec
treeaeccead4329bf20693105a5054efc898af10c360
parentb6a37a93c9ac3900987c79b726d0bb3699d8db4e
drm/i915/gvt: Fix BDW command parser regression

On BDW new Windows driver has brought extra registers to handle for
LRM/LRR command in WA ctx. Add allowed registers in cmd parser for BDW.

Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Yan Zhao <yan.y.zhao@intel.com>
Cc: stable@vger.kernel.org
Tested-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Colin Xu <colin.xu@intel.com>
Fixes: 73a37a43d1b0 ("drm/i915/gvt: filter cmds "lrr-src" and "lrr-dst" in cmd_handler")
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20210414084813.3763353-1-zhenyuw@linux.intel.com
drivers/gpu/drm/i915/gvt/cmd_parser.c