]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: Disable pipe CSC and gamma in cursor plane
authorJosé Roberto de Souza <jose.souza@intel.com>
Fri, 18 May 2018 20:15:47 +0000 (13:15 -0700)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 23 May 2018 17:26:51 +0000 (10:26 -0700)
commitf04ed37c52c4a0041c7107a9cd9f3417a6419f80
treec40b747ff7744e32ca75b1cafebb36f9d7e62e2f
parent930d1589597676ad2c15254aca81b01d490c4cb2
drm/i915/icl: Disable pipe CSC and gamma in cursor plane

'Pipe CSC enable' bit is more than just deprecated in ICL+, it was
disabled in commit d9f1ce46a7c2 ("drm/i915/icl: Don't set pipe
CSC/Gamma in PLANE_COLOR_CTL") for primary and sprite planes as it was
causing those planes to be rendered as always black but it was not
disabled in cursor plane, also causing it to be rendered as black.

As mentioned in the commit referenced above, this is a workaround
too and the CSC and gamma per plane values needs to be setup before
enable CSC and gamma again.

BSpec: 4278 and 7635

Cc: James Ausmus <james.ausmus@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180518201547.15793-1-jose.souza@intel.com
drivers/gpu/drm/i915/intel_display.c