Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <dmytro.laktyushkin@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Victor Lu and committed by
Alex Deucher
8d177577 c8f8e968

+1
+1
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c
··· 109 109 .max_page_table_levels = 4, 110 110 .pte_chunk_size_kbytes = 2, 111 111 .meta_chunk_size_kbytes = 2, 112 + .min_meta_chunk_size_bytes = 256, 112 113 .writeback_chunk_size_kbytes = 2, 113 114 .line_buffer_size_bits = 789504, 114 115 .is_line_buffer_bpp_fixed = 0,