diff options
author | Charlene Liu <charlene.liu@amd.com> | 2019-04-18 02:15:15 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-22 17:34:11 +0300 |
commit | 72c6473a6aff9112dc213558bbe55b673f56d161 (patch) | |
tree | c5e5cf9ce97333f7925f0715e3ae38e6ca719553 /drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h | |
parent | bb21290ff61529f7b8a6acdba6bbc21b15ac8c18 (diff) | |
download | linux-72c6473a6aff9112dc213558bbe55b673f56d161.tar.xz |
drm/amd/display: [backport] dwb dm + efc support
dwb fixes.
Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Duke Du <Duke.Du@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h | 7 |
1 files changed, 7 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 01f892dc8c91..c3c7a34b0ab0 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h @@ -143,6 +143,11 @@ struct dwbc { bool dwb_output_black; enum dc_transfer_func_predefined tf; enum dc_color_space output_color_space; + bool dwb_is_efc_transition; + int wb_src_plane_inst;/*hubp, mpcc, inst*/ + bool update_privacymask; + uint32_t mask_id; + }; struct dwbc_funcs { @@ -179,6 +184,8 @@ struct dwbc_funcs { #endif + bool (*get_dwb_status)( + struct dwbc *dwbc); void (*dwb_set_scaler)( struct dwbc *dwbc, struct dc_dwb_params *params); |