]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gvt: emulate SKL_FUSE_STATUS and LCPLL_CTL for virtual monitor detection
authorWeinan Li <weinan.z.li@intel.com>
Fri, 17 Mar 2017 01:38:57 +0000 (09:38 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 29 Mar 2017 07:28:51 +0000 (15:28 +0800)
commit3cb4f5a643386e70b26e70154140d7129fc9af97
tree10552f449b98ce6c1bf0683886b91ead951be1bc
parentdd9f7724ee0f8a0590a8f680827bff6194123749
drm/i915/gvt: emulate SKL_FUSE_STATUS and LCPLL_CTL for virtual monitor detection

Initialize the correct vreg for virtual monitor.
Set PG0/1/2 distribution and fuse download done in SKL_FUSE_STATUS.
Set PLL_ENABLE and PLL_LOCK in LCPLL_CTL.
Guest may need to check these registers for display monitor detection
on Skylake platforms.

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