]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Use region6 size in fw_meta_info
authorJinZe Xu <jinze.xu@amd.com>
Fri, 18 Oct 2024 14:15:57 +0000 (22:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 8 Nov 2024 16:45:30 +0000 (11:45 -0500)
commite77a8005748547fb1f10645097f13ccdd804d7e5
tree9bd043b9dfc8fbdee73da547beeecdef8184b522
parentbc0429283802546f7d13184f1f9e6a6bab9834a3
drm/amd/display: Use region6 size in fw_meta_info

[Why]
If driver allocated region6 size is not same as the size in firmware,
dmcub won't enable region6.

[How]
Use region6 size in dmcub_fw_meta instead of a constant value.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: JinZe Xu <jinze.xu@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c