Re: [Intel-gfx] [PATCH] drm/i915: refactor panel backlight control functions. (v2)

2020-12-03 Thread Jani Nikula
On Tue, 01 Dec 2020, Dave Airlie wrote: > From: Dave Airlie > > This moves the functions into static const instead of having > funcs and data in the same struct. > > It leaves the power callback alone, as it is used in a different > manner. > > v2: leave power callback alone (Jani) > > Reviewed-b

[Intel-gfx] [PATCH] drm/i915: refactor panel backlight control functions. (v2)

2020-11-30 Thread Dave Airlie
From: Dave Airlie This moves the functions into static const instead of having funcs and data in the same struct. It leaves the power callback alone, as it is used in a different manner. v2: leave power callback alone (Jani) Reviewed-by: Jani Nikula Signed-off-by: Dave Airlie --- .../drm/i9

Re: [Intel-gfx] [PATCH] drm/i915: refactor panel backlight control functions.

2020-11-30 Thread Jani Nikula
On Thu, 26 Nov 2020, Dave Airlie wrote: > From: Dave Airlie > > This moves the functions into static const instead of having > funcs and data in the same struct. > > The only problem is the power callback gets overridden in the > eDP code so deal with that, might be worth seeing if that can be >

[Intel-gfx] [PATCH] drm/i915: refactor panel backlight control functions.

2020-11-25 Thread Dave Airlie
From: Dave Airlie This moves the functions into static const instead of having funcs and data in the same struct. The only problem is the power callback gets overridden in the eDP code so deal with that, might be worth seeing if that can be done differently. Signed-off-by: Dave Airlie --- ...