aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorKenneth Feng <[email protected]>2024-04-26 01:28:24 +0000
committerAlex Deucher <[email protected]>2024-05-17 21:40:37 +0000
commitd3620eeae82cccf8316e6754f8ddb52473e2e5ea (patch)
tree7711455d9bd2af033014668edeff4cf69d9f2193 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdkfd: Add GFX1201 to svm_range_get_pte_flags function (diff)
downloadkernel-d3620eeae82cccf8316e6754f8ddb52473e2e5ea.tar.gz
kernel-d3620eeae82cccf8316e6754f8ddb52473e2e5ea.zip
drm/amd/amdgpu: add module parameter for jpeg
add module parameter for jpeg. this is a temporary workaround for jpeg unit test fail on vcn 5.0 now. will be removed later. Signed-off-by: Kenneth Feng <[email protected]> Reviewed-by: Sonny Jiang <[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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index d66163e756f1..cad5656c8f48 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -222,6 +222,7 @@ extern int amdgpu_mes;
extern int amdgpu_mes_log_enable;
extern int amdgpu_mes_kiq;
extern int amdgpu_uni_mes;
+extern int amdgpu_jpeg_test;
extern int amdgpu_noretry;
extern int amdgpu_force_asic_type;
extern int amdgpu_smartshift_bias;
@@ -1018,6 +1019,7 @@ struct amdgpu_device {
/* jpeg */
struct amdgpu_jpeg jpeg;
+ bool enable_jpeg_test;
/* vpe */
struct amdgpu_vpe vpe;