aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorLe Ma <[email protected]>2024-01-09 09:44:39 +0000
committerAlex Deucher <[email protected]>2024-01-15 23:32:49 +0000
commitd20e1aec8862e48a352ca86969cee6f530dd41d5 (patch)
tree455aa24bf5e0d55251d4cba4c42d474b2e224bce /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentRevert "drm/amdgpu: add param to specify fw bo location for front-door loading" (diff)
downloadkernel-d20e1aec8862e48a352ca86969cee6f530dd41d5.tar.gz
kernel-d20e1aec8862e48a352ca86969cee6f530dd41d5.zip
drm/amdgpu: add debug flag to place fw bo on vram for frontdoor loading
Use debug_mask=0x8 param to help isolating data path issues on new systems in early phase. v2: rename the flag for explicitness (lijo) Signed-off-by: Le Ma <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 616b6c911767..3d8a48f46b01 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1144,6 +1144,7 @@ struct amdgpu_device {
bool debug_vm;
bool debug_largebar;
bool debug_disable_soft_recovery;
+ bool debug_use_vram_fw_buf;
};
static inline uint32_t amdgpu_ip_version(const struct amdgpu_device *adev,