]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdgpu: Increase IP discovery region size
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 6 Oct 2023 04:57:20 +0000 (10:27 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Oct 2023 14:59:16 +0000 (10:59 -0400)
IP discovery region has increased to > 8K on some SOCs.Maximum reserve
size is upto 12K, but not used. For now increase to 10K.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h

index 3a2f347bd50d5c7ee4199d49e4533b19452771e4..4d03cd5b3410f97952eddd44735ee58b734b4cfb 100644 (file)
@@ -24,7 +24,7 @@
 #ifndef __AMDGPU_DISCOVERY__
 #define __AMDGPU_DISCOVERY__
 
-#define DISCOVERY_TMR_SIZE      (8 << 10)
+#define DISCOVERY_TMR_SIZE      (10 << 10)
 #define DISCOVERY_TMR_OFFSET    (64 << 10)
 
 void amdgpu_discovery_fini(struct amdgpu_device *adev);