mirror of
https://github.com/torvalds/linux.git
synced 2026-11-09 05:34:02 +01:00
drm/amd/display: Add utm_support capability flag
[Why] Expose whether the ASIC supports Universal Traffic Management so upper layers can query the capability instead of assuming support. [How] Add a new bool capability field to dc_caps, defaulting to false, and set it to true during DCN6 resource construction. Reviewed-by: Alvin Lee <alvin.lee2@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: James Lin <pinglei.lin@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
b5b05ce478
commit
ee14b1dc90
|
|
@ -432,6 +432,7 @@ struct dc_caps {
|
|||
uint8_t num_of_dpias_per_host_router;
|
||||
/* limit of the ODM only, could be limited by other factors (like pipe count)*/
|
||||
uint8_t max_odm_combine_factor;
|
||||
bool utm_support;
|
||||
};
|
||||
|
||||
struct dc_bug_wa {
|
||||
|
|
|
|||
|
|
@ -2037,6 +2037,7 @@ static bool dcn60_resource_construct(
|
|||
dc->caps.edp_dsc_support = true;
|
||||
dc->caps.extended_aux_timeout_support = true;
|
||||
dc->caps.dmcub_support = true;
|
||||
dc->caps.utm_support = true;
|
||||
dc->caps.max_v_total = (1 << 15) - 1;
|
||||
|
||||
if (ASICREV_IS_GC_12_0_1_A0(dc->ctx->asic_id.hw_internal_rev))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user