drm/amdgpu: reserve more memory for MES runtime DRAM
authorTim Huang <Tim.Huang@amd.com>
Fri, 23 Feb 2024 02:54:45 +0000 (10:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Feb 2024 16:15:32 +0000 (11:15 -0500)
commit93d64097f741f1f07a8da9d7882d0d2657d3642a
treeb27774370822a0b6843f72d3247e3df396235eb9
parent63fcd306c0a5cd8c91e570ba2186772334ad6dda
drm/amdgpu: reserve more memory for MES runtime DRAM

This patch fixes a MES firmware boot failure issue
when backdoor loading the MES firmware.

MES firmware runtime DRAM size is changed to 512k,
the driver needs to reserve this amount of memory in
FB, otherwise adjacent memory will be overwritten by
the MES firmware startup code.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c