All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] drm/i915: Disable plane gamma in SKL+ sprite planes
@ 2017-01-24 13:35 Ander Conselvan de Oliveira
  2017-01-24 13:35 ` [PATCH 2/4] drm/i915/glk: Plane color correction register changes Ander Conselvan de Oliveira
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Ander Conselvan de Oliveira @ 2017-01-24 13:35 UTC (permalink / raw)
  To: intel-gfx; +Cc: Ander Conselvan de Oliveira

The plane gamma tables are never programmed, so just disable it, like it
is done for the primary plane.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
---
 drivers/gpu/drm/i915/intel_sprite.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c
index 9ef5468..c05545f 100644
--- a/drivers/gpu/drm/i915/intel_sprite.c
+++ b/drivers/gpu/drm/i915/intel_sprite.c
@@ -226,6 +226,7 @@ skl_update_plane(struct drm_plane *drm_plane,
 	plane_ctl |= skl_plane_ctl_format(fb->format->format);
 	plane_ctl |= skl_plane_ctl_tiling(fb->modifier);
 
+	plane_ctl |= PLANE_CTL_PLANE_GAMMA_DISABLE;
 	plane_ctl |= skl_plane_ctl_rotation(rotation);
 
 	if (key->flags) {
-- 
2.5.5

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-01-25  7:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-24 13:35 [PATCH 1/4] drm/i915: Disable plane gamma in SKL+ sprite planes Ander Conselvan de Oliveira
2017-01-24 13:35 ` [PATCH 2/4] drm/i915/glk: Plane color correction register changes Ander Conselvan de Oliveira
2017-01-24 16:16   ` Ville Syrjälä
2017-01-25  7:13     ` Ander Conselvan De Oliveira
2017-01-24 13:35 ` [PATCH 3/4] drm/i915/glk: Program pipe gamma and degamma tables Ander Conselvan de Oliveira
2017-01-24 18:05   ` Ville Syrjälä
2017-01-25  7:21     ` Ander Conselvan De Oliveira
2017-01-24 13:35 ` [PATCH 4/4] drm/i915/glk: Enable pipe CSC Ander Conselvan de Oliveira
2017-01-24 15:25 ` ✗ Fi.CI.BAT: failure for series starting with [1/4] drm/i915: Disable plane gamma in SKL+ sprite planes Patchwork
2017-01-24 15:58 ` [PATCH 1/4] " Ville Syrjälä

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.