]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: avoid unclaimed PLANE_NV12_BUF_CFG register
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 1 Aug 2018 00:46:14 +0000 (17:46 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 2 Aug 2018 17:30:33 +0000 (10:30 -0700)
commitb97e87aab3f8c67113550c9ac2456a554583a3a2
treec97108b2c4b52ffcf48d617d116b72c664235cbd
parent3f2b45ec46fac7d1ba44c6fb77ed2df75fa2eb34
drm/i915/icl: avoid unclaimed PLANE_NV12_BUF_CFG register

We don't have proper watermark NV12 support on ICL due to differences
in how it should be implemented. In commit a8f8ddbc2a9d
("drm/i915/icl: NV12 y-plane ddb is not in same plane") we avoided
writing the non-existent PLANE_NV12_BUF_CFG registers but we forgot to
also avoid them on the hardware state readout. While the code is still
not correct, at least now we can avoid unclaimed register error
messages when dealing with RGB formats, which makes CI happier.

Also add some FIXME comments in order to make it even more clear that
there's still work to do.

References: commit a8f8ddbc2a9d ("drm/i915/icl: NV12 y-plane ddb is
 not in same plane")
Cc: Mahesh Kumar <mahesh1.kumar@intel.com>
Reviewed-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180801004614.22149-1-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_pm.c