Skip to content

Commit 8d17757

Browse files
victorlu-amdalexdeucher
authored andcommitted
drm/amd/display: Add missing DCN21 IP parameter
[why] IP parameter min_meta_chunk_size_bytes is read for bandwidth calculations but it was never defined. [how] Define min_meta_chunk_size_bytes and initialize value to 256. Reviewed-by: Laktyushkin Dmytro <[email protected]> Acked-by: Solomon Chiu <[email protected]> Signed-off-by: Victor Lu <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent c8f8e96 commit 8d17757

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ struct _vcs_dpi_ip_params_st dcn2_1_ip = {
109109
.max_page_table_levels = 4,
110110
.pte_chunk_size_kbytes = 2,
111111
.meta_chunk_size_kbytes = 2,
112+
.min_meta_chunk_size_bytes = 256,
112113
.writeback_chunk_size_kbytes = 2,
113114
.line_buffer_size_bits = 789504,
114115
.is_line_buffer_bpp_fixed = 0,

0 commit comments

Comments
 (0)