diff options
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dc.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index 80c118f0d6da..252eba2ee116 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -910,8 +910,8 @@ struct dpcd_caps { bool dpcd_display_control_capable; bool ext_receiver_cap_field_present; #ifdef CONFIG_DRM_AMD_DC_DSC_SUPPORT - union fec_capability fec_cap; - struct dsc_dec_dpcd_caps dsc_sink_caps; + union dpcd_fec_capability fec_cap; + struct dpcd_dsc_capabilities dsc_caps; #endif }; @@ -933,6 +933,14 @@ struct dc_container_id { }; +#ifdef CONFIG_DRM_AMD_DC_DSC_SUPPORT +struct dc_sink_dsc_caps { + // 'true' if these are virtual DPCD's DSC caps (immediately upstream of sink in MST topology), + // 'false' if they are sink's DSC caps + bool is_virtual_dpcd_dsc; + struct dsc_dec_dpcd_caps dsc_dec_caps; +}; +#endif /* * The sink structure contains EDID and other display device properties @@ -948,12 +956,7 @@ struct dc_sink { bool converter_disable_audio; #ifdef CONFIG_DRM_AMD_DC_DSC_SUPPORT - struct dc_sink_dsc_caps { - // 'true' if these are virtual DPCD's DSC caps (immediately upstream of sink in MST topology), - // 'false' if they are sink's DSC caps - bool is_virtual_dpcd_dsc; - struct dsc_dec_dpcd_caps dsc_dec_caps; - } sink_dsc_caps; + struct dc_sink_dsc_caps sink_dsc_caps; #endif /* private to DC core */ |