diff options
author | Yongqiang Sun <yongqiang.sun@amd.com> | 2020-04-22 18:08:01 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-28 16:19:40 -0400 |
commit | 4b0e95d1838f0e1d8bd4ca79f1fa17d7af1ddad6 (patch) | |
tree | 3ff5469455f80f04f7b99e9a49ec37cb4cdf79ea /drivers/gpu/drm/amd/display/dc/inc | |
parent | drm/amd/display: Add dummy p-state latency bounding box override (diff) | |
download | linux-dev-4b0e95d1838f0e1d8bd4ca79f1fa17d7af1ddad6.tar.xz linux-dev-4b0e95d1838f0e1d8bd4ca79f1fa17d7af1ddad6.zip |
drm/amd/display: Add set backlight to hw sequencer.
[Why & How]
Add set backlight to hw sequencer, dmu communication will
be handled in hw sequencer for new asics.
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h index 9380721f28b8..ed3505cbba6e 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h @@ -191,6 +191,10 @@ struct hw_sequencer_funcs { unsigned int bufSize, unsigned int mask); void (*clear_status_bits)(struct dc *dc, unsigned int mask); + bool (*set_backlight_level)(struct pipe_ctx *pipe_ctx, + uint32_t backlight_pwm_u16_16, + uint32_t frame_ramp); + }; |