drm/i915/gvt: fix pcode mailbox write emulation of BDW
authorWeinan Li <weinan.z.li@intel.com>
Fri, 24 Feb 2017 09:07:38 +0000 (17:07 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 24 Feb 2017 09:07:38 +0000 (17:07 +0800)
commit8bcd7c188bc479bea866d286a7dc0af9734c3c64
tree3a5251541ad3ec329190d1bdc51e212da0098939
parentd1a513be1f0a25f094e1577d059b9aebaa279bb2
drm/i915/gvt: fix pcode mailbox write emulation of BDW

Add pcode mailbox write emulation in gvt for BDW, reuse emulation code of
Skylake.

V2: refine comments, remove duplication defination of 0x138124, add
IS_SKYLAKE() check for Skylake only pcode commands.

Signed-off-by: Weinan Li <weinan.z.li@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/handlers.c