From: Michel Alexandre Salim <salimma@fedoraproject.org>
To: intel-gfx@lists.freedesktop.org
Cc: Keith Packard <keithp@keithp.com>,
Jesse Barnes <jbarnes@virtuousgeek.org>,
Chris Wilson <chris@chris-wilson.co.uk>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3] drm/i915: Honor SSC quirk table over the default, unless set by user
Date: Wed, 09 Nov 2011 17:30:29 +0100 [thread overview]
Message-ID: <4EBAAAA5.7030807@fedoraproject.org> (raw)
In-Reply-To: <1320855178.5081.9.camel@fauix11.informatik.uni-erlangen.de>
Additional note: while I've not touched the line since it does not
affect me, it seems that i915_panel_use_ssc *cannot* be less than 0
since that variable is declared as unsigned.
So the last line (the value in dev_priv) will never be used to determine
whether SSC is used anyway. Keith probably knows more since he
introduces that check in the commit that my patch referred to.
On 11/09/2011 05:12 PM, Michel Alexandre Salim wrote:
> static inline bool intel_panel_use_ssc(struct drm_i915_private *dev_priv)
> {
> + if (i915_panel_use_ssc == 1)
> + return true;
> + if (dev_priv->quirks & QUIRK_LVDS_SSC_DISABLE)
> + return false;
> if (i915_panel_use_ssc >= 0)
> return i915_panel_use_ssc != 0;
> - return dev_priv->lvds_use_ssc
> - && !(dev_priv->quirks & QUIRK_LVDS_SSC_DISABLE);
> + return dev_priv->lvds_use_ssc;
> }
>
> /**
--
Michel Alexandre Salim
µblog: http://identi.ca/hircus
http://twitter.com/hircus
GPG key ID: 78884778
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
next prev parent reply other threads:[~2011-11-09 16:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-09 16:12 [PATCH v3] drm/i915: Honor SSC quirk table over the default, unless set by user Michel Alexandre Salim
2011-11-09 16:30 ` Michel Alexandre Salim [this message]
2011-11-09 18:07 ` Keith Packard
2011-11-10 9:46 ` Michel Alexandre Salim
2011-11-16 10:49 ` Michel Alexandre Salim
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=4EBAAAA5.7030807@fedoraproject.org \
--to=salimma@fedoraproject.org \
--cc=chris@chris-wilson.co.uk \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jbarnes@virtuousgeek.org \
--cc=keithp@keithp.com \
--cc=linux-kernel@vger.kernel.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