From: Roman Li <[email protected]>
Add DCN42 portion that was stripped during previously.
Fixes: 28fb6e900b3b ("drm/amd/display: Query DC for gfx handling when setting
linear tiling")
Reviewed-by: Alex Hung <[email protected]>
Signed-off-by: Roman Li <[email protected]>
Signed-off-by: Chuanyu Tseng <[email protected]>
---
drivers/gpu/drm/amd/display/dc/resource/dcn42/dcn42_resource.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/display/dc/resource/dcn42/dcn42_resource.c
b/drivers/gpu/drm/amd/display/dc/resource/dcn42/dcn42_resource.c
index aef187bcf5c3..7b451c7db02c 100644
--- a/drivers/gpu/drm/amd/display/dc/resource/dcn42/dcn42_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/resource/dcn42/dcn42_resource.c
@@ -1792,6 +1792,7 @@ static struct resource_funcs dcn42_res_pool_funcs = {
.build_pipe_pix_clk_params = dcn42_build_pipe_pix_clk_params,
.get_vstartup_for_pipe = dcn401_get_vstartup_for_pipe,
.get_max_hw_cursor_size = dcn42_get_max_hw_cursor_size,
+ .get_default_tiling_info = dcn10_get_default_tiling_info
};
static uint32_t read_pipe_fuses(struct dc_context *ctx)
--
2.43.0