From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Bob Paauwe <bob.j.paauwe@intel.com>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 1/2] drm/i915/skl: Enable pipe gamma for sprite planes.
Date: Thu, 15 Oct 2015 15:45:10 +0300 [thread overview]
Message-ID: <20151015124510.GH26517@intel.com> (raw)
In-Reply-To: <1440708391-18358-1-git-send-email-bob.j.paauwe@intel.com>
On Thu, Aug 27, 2015 at 01:46:30PM -0700, Bob Paauwe wrote:
> 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>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.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
--
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2015-10-15 12:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Ville Syrjälä [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151015124510.GH26517@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=bob.j.paauwe@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox