public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Eugeni Dodonov <eugeni.dodonov@linux.intel.com>
To: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 2/4] drm/i915: clear up backlight #define confusion on gen4+
Date: Tue, 12 Jun 2012 12:06:24 -0300	[thread overview]
Message-ID: <4FD75AF0.7050001@linux.intel.com> (raw)
In-Reply-To: <1338883631-3493-2-git-send-email-daniel.vetter@ffwll.ch>

On 06/05/2012 05:07 AM, Daniel Vetter wrote:
> - Regroup definitions for BLC_PWM_CTL so that they're all together and
>   and ordered according to the bitfields.
> 
> - Add all missing defintions for BLC_PWM_CTL2.

s/defintions/definitions

> 
> - Use the BLM_ (for backlight modulation) prefix consistently.
> 
> - Note that combination mode (i.e. also taking the legacy backlight
>   control value from pci config space into account) is gen4 only.
> 
> - Move the new registers for PCH-split machines up, they're an almost
>   match for the gen4 defitions.  Prefix the special PCH-only bits with
>   BLM_PCH_. Also add the pipe C select bit for ivb.
> 
> - Rip out the second pair of PCH polarity definitions - they're only
>   valid on early (pre-production) ilk silicon.
> 
> - Adapt the existing code to use the new definitions. This has the
>   nice benefit of killing a magic (1 << 30) left behind be Jesse
>   Barnes.
> 
> No functional changes in this patch.
> 
> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

The bits look correct, but I think it would make it easier to follow up
if you'd split it into 2 patches to simplify things:
1. Add/regroup BLC_PWM_CTL2 and BLC_PWM_CTL stuff (and all the other
pre-PCH stuff)
2. Add/move the PCH registers

So each patch would correspond to one set of documents.

But if you think that the current way is good the way it is, for the
functional changes, as far as I can see:

Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>

Eugeni

  reply	other threads:[~2012-06-12 15:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-05  8:07 [PATCH 1/4] drm/i915: pnv has a backlight polarity control bit, too Daniel Vetter
2012-06-05  8:07 ` [PATCH 2/4] drm/i915: clear up backlight #define confusion on gen4+ Daniel Vetter
2012-06-12 15:06   ` Eugeni Dodonov [this message]
2012-06-05  8:07 ` [PATCH 3/4] drm/i915: properly enable the blc controller on the right pipe Daniel Vetter
2012-06-05 11:15   ` Daniel Vetter
2012-06-05 10:14     ` [PATCH] " Daniel Vetter
2012-06-12 15:15       ` Eugeni Dodonov
2012-06-05  8:07 ` [PATCH 4/4] drm/i915: allow pipe A for lvds on gen4 Daniel Vetter
2012-06-12 15:35   ` Eugeni Dodonov
2012-06-12 17:29     ` Daniel Vetter
2012-06-05  9:25 ` [PATCH 1/4] drm/i915: pnv has a backlight polarity control bit, too Paul Menzel
2012-06-12 14:41 ` Eugeni Dodonov

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=4FD75AF0.7050001@linux.intel.com \
    --to=eugeni.dodonov@linux.intel.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=eugeni.dodonov@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