]> git.itanic.dy.fi Git - linux-stable/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drm/amdgpu: change the alignment size of TMR BO to 1M
[linux-stable] / drivers / gpu / drm / amd / amdgpu / amdgpu_psp.h
index e431f49949319aa8f388f91a5681d1356f300102..cd366c7f311fd5f418e56ce8f8dfcb957bd56ff5 100644 (file)
@@ -36,6 +36,7 @@
 #define PSP_CMD_BUFFER_SIZE    0x1000
 #define PSP_1_MEG              0x100000
 #define PSP_TMR_SIZE(adev)     ((adev)->asic_type == CHIP_ALDEBARAN ? 0x800000 : 0x400000)
+#define PSP_TMR_ALIGNMENT      0x100000
 #define PSP_FW_NAME_LEN                0x24
 
 enum psp_shared_mem_size {