public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 3/3] drm/i915: Pass atomic state to backlight enable/disable/set callbacks.
Date: Mon, 12 Jun 2017 16:26:32 +0200	[thread overview]
Message-ID: <3fb45d0d-07f5-d8b8-13c4-a0ac982344e8@linux.intel.com> (raw)
In-Reply-To: <20170612124804.GA12629@intel.com>

Op 12-06-17 om 14:48 schreef Ville Syrjälä:
> On Mon, Jun 12, 2017 at 12:21:15PM +0200, Maarten Lankhorst wrote:
>> Pass crtc_state to the enable callback, and connector_state to all callbacks.
>> This will eliminate the need to guess for the correct pipe in these
>> callbacks.
>>
>> The crtc state is required for pch_enable_backlight to obtain the correct
>> cpu_transcoder.
>>
>> intel_dp_aux_backlight's setup function is called before hw readout, so
>> crtc_state and connector_state->best_encoder are NULL in the enable()
>> and set() callbacks.
> This looks like a bug in the code. Massaging the backlight during setup
> doesn't seem like the right thing to do. It should read the current
> state instead of modifying it. So this is something that the relevant
> people should take a look at. Cc:ing some people...
>
> Anyways, the series looks good to me, so
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Thanks, trybot seems to test backlight too (pm_backlight). No errors caught there so pushed. :)

I think you've forgot to attach some some people to cc, I only see the ml.

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

  reply	other threads:[~2017-06-12 14:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-12 10:21 [PATCH 0/3] drm/i915: Pass atomic state to backlight Maarten Lankhorst
2017-06-12 10:21 ` [PATCH 1/3] drm/i915: Pass crtc_state and connector state to backlight enable/disable functions Maarten Lankhorst
2017-06-12 10:21 ` [PATCH 2/3] drm/i915: Pass connector state to intel_panel_set_backlight_acpi Maarten Lankhorst
2017-06-12 10:21 ` [PATCH 3/3] drm/i915: Pass atomic state to backlight enable/disable/set callbacks Maarten Lankhorst
2017-06-12 12:48   ` Ville Syrjälä
2017-06-12 14:26     ` Maarten Lankhorst [this message]
2017-06-12 14:31     ` Ville Syrjälä
2017-06-12 10:37 ` ✓ Fi.CI.BAT: success for drm/i915: Pass atomic state to backlight Patchwork

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=3fb45d0d-07f5-d8b8-13c4-a0ac982344e8@linux.intel.com \
    --to=maarten.lankhorst@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=ville.syrjala@linux.intel.com \
    /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