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 2/2] drm/i915/skl+: Enable pipe CSC on cursor planes. (v2)
Date: Thu, 15 Oct 2015 15:49:44 +0300 [thread overview]
Message-ID: <20151015124944.GI26517@intel.com> (raw)
In-Reply-To: <1441055010-25974-1-git-send-email-bob.j.paauwe@intel.com>
On Mon, Aug 31, 2015 at 02:03:30PM -0700, Bob Paauwe wrote:
> Extend this to SKL and BXT as it's needed for these platforms as well.
>
> v2: Change if condition to HAS_DDI() instead of listing each platform
> Signed-off-by: Bob Paauwe <bob.j.paauwe@intel.com>
> ---
> drivers/gpu/drm/i915/intel_display.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 88f9764..ba180f6 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -10001,7 +10001,7 @@ static void i9xx_update_cursor(struct drm_crtc *crtc, u32 base)
> }
> cntl |= pipe << 28; /* Connect to correct pipe */
>
> - if (IS_HASWELL(dev) || IS_BROADWELL(dev))
> + if (HAS_DDI(dev))
Yeah, while cursors themselves don't change between non-DDI and DDI
platforms, the reason for this stuff is the fact that that we use
the pipe csc for HDMI color range mangling on DDI platforms, since
they no longer have any other pipe/port controls for it.
So makese sense to check for DDI here too I think:
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> cntl |= CURSOR_PIPE_CSC_ENABLE;
> }
>
> --
> 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
next prev parent reply other threads:[~2015-10-15 12:49 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ä [this message]
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ä
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=20151015124944.GI26517@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