diff options
| author | David Francis <[email protected]> | 2018-07-18 16:03:30 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-08-06 14:35:24 -0500 |
| commit | 53a53f8687faf492df2644d8c18ff0217fc18730 (patch) | |
| tree | d7ab0001fd31a69ad0b4487d14cce083afb9450c /include/linux/fpga/fpga-mgr.h | |
| parent | 620a0d27b211aa03d3f99accfdd58b88e6e0504c (diff) | |
drm/amd/display: Read back max backlight value at boot
[Why]
If there is no program explicitly setting the backlight
brightness (for example, during a minimal install of linux), the
hardware defaults to maximum brightness but the backlight_device
defaults to 0 value. Thus, settings displays the wrong brightness
value.
[How]
When creating the backlight device, set brightness to max
Signed-off-by: David Francis <[email protected]>
Reviewed-by: Harry Wentland <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions