All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/dp, drm/i915: Finish basic PWM support for VESA backlight helpers
@ 2021-09-27 20:12 ` Lyude Paul
  0 siblings, 0 replies; 21+ messages in thread
From: Lyude Paul @ 2021-09-27 20:12 UTC (permalink / raw)
  To: intel-gfx, dri-devel

When I originally moved all of the VESA backlight code in i915 into DRM
helpers, one of the things I didn't have the hardware or time for
testing was machines that used a combination of PWM and DPCD in order to
control their backlights. This has since then caused some breakages and
resulted in us disabling DPCD backlight support on such machines. This
works fine, unless you have a machine that actually needs this
functionality for backlight controls to work at all. Additionally, we
will need to support PWM for when we start adding support for VESA's
product (as in the product of multiplication) control mode for better
brightness ranges.

So - let's finally finish up implementing basic support for these types
of backlights to solve these problems in our DP helpers, along with
implementing support for this in i915. And since digging into this issue
solved the last questions we really had about probing backlights in i915
for the most part, let's update some of the comments around that as
well!

Lyude Paul (3):
  drm/i915: Add support for panels with VESA backlights with PWM
    enable/disable
  drm/dp, drm/i915: Add support for VESA backlights using PWM for
    brightness control
  drm/i915: Clarify probing order in intel_dp_aux_init_backlight_funcs()

 drivers/gpu/drm/drm_dp_helper.c               | 102 ++++++++++++++----
 .../drm/i915/display/intel_dp_aux_backlight.c |  81 ++++++++++----
 drivers/gpu/drm/nouveau/nouveau_backlight.c   |   2 +-
 include/drm/drm_dp_helper.h                   |  46 ++++----
 4 files changed, 170 insertions(+), 61 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2021-10-02  2:24 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 20:12 [PATCH 0/3] drm/dp, drm/i915: Finish basic PWM support for VESA backlight helpers Lyude Paul
2021-09-27 20:12 ` [Intel-gfx] " Lyude Paul
2021-09-27 20:12 ` [PATCH 1/3] drm/i915: Add support for panels with VESA backlights with PWM enable/disable Lyude Paul
2021-09-27 20:12   ` [Intel-gfx] " Lyude Paul
2021-09-27 20:12 ` [PATCH 2/3] drm/dp, drm/i915: Add support for VESA backlights using PWM for brightness control Lyude Paul
2021-09-27 20:12   ` [Intel-gfx] " Lyude Paul
2021-09-27 20:12   ` [Nouveau] " Lyude Paul
2021-09-28 20:00   ` Doug Anderson
2021-09-28 20:00     ` [Nouveau] " Doug Anderson
2021-09-28 20:00     ` [Intel-gfx] " Doug Anderson
2021-09-28 21:04     ` Lyude Paul
2021-09-28 21:04       ` [Intel-gfx] " Lyude Paul
2021-09-28 21:04       ` [Nouveau] " Lyude Paul
2021-09-27 20:12 ` [PATCH 3/3] drm/i915: Clarify probing order in intel_dp_aux_init_backlight_funcs() Lyude Paul
2021-09-27 20:12   ` [Intel-gfx] " Lyude Paul
2021-09-27 21:27 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/dp, drm/i915: Finish basic PWM support for VESA backlight helpers Patchwork
2021-09-27 21:54 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2021-09-28  2:57 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2021-09-28 18:02 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/dp, drm/i915: Finish basic PWM support for VESA backlight helpers (rev2) Patchwork
2021-09-28 18:31 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2021-09-28 20:29 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.