diff options
author | Alex Hung <alex.hung@amd.com> | 2023-12-01 06:25:38 -0700 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-12-06 15:22:35 -0500 |
commit | 50ad10cba6cd1c7f0ac9049f2c2c6b7589b510d0 (patch) | |
tree | 50fb2cde094a877c86f2dfb6632d832f2c3ded35 /drivers/gpu/drm/amd/display/dc/inc | |
parent | fdf43d25e38f9e6e6a3cdb15335c198fb6d5dcb9 (diff) | |
download | linux-stable-50ad10cba6cd1c7f0ac9049f2c2c6b7589b510d0.tar.gz linux-stable-50ad10cba6cd1c7f0ac9049f2c2c6b7589b510d0.tar.bz2 linux-stable-50ad10cba6cd1c7f0ac9049f2c2c6b7589b510d0.zip |
drm/amd/display: Add new set_fc_enable to struct dwbc_funcs
[WHAT]
Add a function to enable and disable DWB's frame captures.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Hung <alex.hung@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/dwb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h index 86b711dcc785..729ca0064e94 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h @@ -188,6 +188,10 @@ struct dwbc_funcs { bool (*is_enabled)( struct dwbc *dwbc); + void (*set_fc_enable)( + struct dwbc *dwbc, + enum dwb_frame_capture_enable enable); + void (*set_stereo)( struct dwbc *dwbc, struct dwb_stereo_params *stereo_params); |