public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/i915/skl: Enable pipe gamma for sprite planes.
@ 2015-08-27 20:46 Bob Paauwe
  2015-08-27 20:46 ` [PATCH 2/2] drm/i915/skl+: Enable pipe CSC on cursor planes Bob Paauwe
  2015-10-15 12:45 ` [PATCH 1/2] drm/i915/skl: Enable pipe gamma for sprite planes Ville Syrjälä
  0 siblings, 2 replies; 11+ messages in thread
From: Bob Paauwe @ 2015-08-27 20:46 UTC (permalink / raw)
  To: intel-gfx

Since SKL has universal planes, we should configure the sprite planes
and the primary plane the same.  For the primary plane we do enable
the pipe gamma on the plane so do the same for the non-primary planes.

Without this, the pipe CRC values will be different for something
displayed on the primary plane and something displayed on a sprite
plane when the ARGB8888 format is used.

Signed-off-by: Bob Paauwe <bob.j.paauwe@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 9d8af2f..048d397 100644
--- a/drivers/gpu/drm/i915/intel_sprite.c
+++ b/drivers/gpu/drm/i915/intel_sprite.c
@@ -189,6 +189,7 @@ skl_update_plane(struct drm_plane *drm_plane, struct drm_crtc *crtc,
 	int scaler_id;
 
 	plane_ctl = PLANE_CTL_ENABLE |
+		PLANE_CTL_PIPE_GAMMA_ENABLE |
 		PLANE_CTL_PIPE_CSC_ENABLE;
 
 	plane_ctl |= skl_plane_ctl_format(fb->pixel_format);
-- 
2.1.0

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

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

end of thread, other threads:[~2015-10-15 13:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-27 20:46 [PATCH 1/2] drm/i915/skl: Enable pipe gamma for sprite planes Bob Paauwe
2015-08-27 20:46 ` [PATCH 2/2] drm/i915/skl+: Enable pipe CSC on cursor planes Bob Paauwe
2015-08-28 14:19   ` Daniel Stone
2015-08-28 15:55     ` Bob Paauwe
2015-08-28 16:12       ` Daniel Stone
2015-08-28 21:04         ` Bob Paauwe
2015-08-31 21:03   ` [PATCH 2/2] drm/i915/skl+: Enable pipe CSC on cursor planes. (v2) Bob Paauwe
2015-10-15 12:49     ` Ville Syrjälä
2015-10-15 13:22       ` Daniel Vetter
2015-09-01 10:54   ` [PATCH 2/2] drm/i915/skl+: Enable pipe CSC on cursor planes shuang.he
2015-10-15 12:45 ` [PATCH 1/2] drm/i915/skl: Enable pipe gamma for sprite planes Ville Syrjälä

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox