mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
drm/amd/display: Add additional checks for PSP footer size
[WHY & HOW] Newer ASICs have different PSP footer sizes which lead to driver failing to locate the DMCUB FW meta info, which in turn causes improper DMCUB FW loading and causes DMCUB to crash. Add support for custom PSP footer sizes and check 512B by default as well. Reviewed-by: Charlene Liu <charlene.liu@amd.com> Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
c7062be338
commit
e1b385726f
@@ -413,6 +413,13 @@ struct amdgpu_display_manager {
|
||||
*/
|
||||
uint32_t dmcub_fw_version;
|
||||
|
||||
/**
|
||||
* @fw_inst_size:
|
||||
*
|
||||
* Size of the firmware instruction buffer.
|
||||
*/
|
||||
uint32_t fw_inst_size;
|
||||
|
||||
/**
|
||||
* @cgs_device:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user