aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorSathishkumar S <[email protected]>2021-05-30 05:17:16 +0000
committerAlex Deucher <[email protected]>2021-06-04 16:40:00 +0000
commit30d95a37f46d1be90048c565d3ec380ddecb0541 (patch)
tree566c69b241a9ba4437f7c9eca71bab0b6a75db10 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/amd/pm: sysfs attrs to read ss powershare (v6) (diff)
downloadkernel-30d95a37f46d1be90048c565d3ec380ddecb0541.tar.gz
kernel-30d95a37f46d1be90048c565d3ec380ddecb0541.zip
drm/amdgpu: attr to control SS2.0 bias level (v2)
add sysfs attr to read/write smartshift bias level. document smartshift_bias sysfs attr. V2: add attr to amdgpu_device_attrs and use attr_update (Lijo) Signed-off-by: Sathishkumar S <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 809aa7641d7e..c080ba15ae77 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -173,6 +173,7 @@ int amdgpu_tmz = -1; /* auto */
uint amdgpu_freesync_vid_mode;
int amdgpu_reset_method = -1; /* auto */
int amdgpu_num_kcq = -1;
+int amdgpu_smartshift_bias;
static void amdgpu_drv_delayed_reset_work_handler(struct work_struct *work);