]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/display: correct unknown plane state patch
authorCharlene Liu <Charlene.Liu@amd.com>
Thu, 19 Mar 2026 22:23:43 +0000 (18:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Mar 2026 19:01:57 +0000 (15:01 -0400)
[why]
dcn42x is using same gfx as dcn35, i.e. not use gfx_address3.

Reviewed-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Signed-off-by: Chuanyu Tseng <chuanyu.tseng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/resource/dcn42/dcn42_resource.c

index f2a6e260f061f7152401b2abbfe14fd9cc807d41..9d6a989d6dd2696a1b3b90ac5fb70d9f31a6e6fc 100644 (file)
@@ -1785,7 +1785,7 @@ static struct resource_funcs dcn42_res_pool_funcs = {
        .acquire_post_bldn_3dlut = dcn32_acquire_post_bldn_3dlut,
        .release_post_bldn_3dlut = dcn32_release_post_bldn_3dlut,
        .update_bw_bounding_box = dcn42_update_bw_bounding_box,
-       .patch_unknown_plane_state = dcn401_patch_unknown_plane_state,
+       .patch_unknown_plane_state = dcn35_patch_unknown_plane_state,
        .get_panel_config_defaults = dcn42_get_panel_config_defaults,
        .get_preferred_eng_id_dpia = dcn42_get_preferred_eng_id_dpia,
        .update_soc_for_wm_a = dcn30_update_soc_for_wm_a,