diff options
author | Aurabindo Pillai <aurabindo.pillai@amd.com> | 2024-10-07 15:50:27 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-10-22 17:50:38 -0400 |
commit | 41094c608a1115b2dd3571ae76461e59253e2ec2 (patch) | |
tree | 683288afea46b3f7ea02fc9a5d262530c0061f18 /drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c | |
parent | 9bdcf2a5c6d2f575e1f3290d1136915e2a419862 (diff) | |
download | linux-41094c608a1115b2dd3571ae76461e59253e2ec2.tar.gz linux-41094c608a1115b2dd3571ae76461e59253e2ec2.tar.bz2 linux-41094c608a1115b2dd3571ae76461e59253e2ec2.zip |
drm/amd/display: Reuse subvp enable check for DCN401
Reuse subvp enable check from DCN32 for IGT testing of Sub-Viewport
feature on DCN401
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c b/drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c index b425b34dc7f5..306b4117e219 100644 --- a/drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c +++ b/drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c @@ -1579,7 +1579,8 @@ static void dcn401_destroy_resource_pool(struct resource_pool **pool) } static struct dc_cap_funcs cap_funcs = { - .get_dcc_compression_cap = dcn20_get_dcc_compression_cap + .get_dcc_compression_cap = dcn20_get_dcc_compression_cap, + .get_subvp_en = dcn32_subvp_in_use, }; static void dcn401_update_bw_bounding_box(struct dc *dc, struct clk_bw_params *bw_params) |