diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 4f98960e47f9..ad02d3fbb44c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |||
@@ -70,9 +70,10 @@ | |||
70 | * - 3.18.0 - Export gpu always on cu bitmap | 70 | * - 3.18.0 - Export gpu always on cu bitmap |
71 | * - 3.19.0 - Add support for UVD MJPEG decode | 71 | * - 3.19.0 - Add support for UVD MJPEG decode |
72 | * - 3.20.0 - Add support for local BOs | 72 | * - 3.20.0 - Add support for local BOs |
73 | * - 3.21.0 - Add DRM_AMDGPU_FENCE_TO_HANDLE ioctl | ||
73 | */ | 74 | */ |
74 | #define KMS_DRIVER_MAJOR 3 | 75 | #define KMS_DRIVER_MAJOR 3 |
75 | #define KMS_DRIVER_MINOR 20 | 76 | #define KMS_DRIVER_MINOR 21 |
76 | #define KMS_DRIVER_PATCHLEVEL 0 | 77 | #define KMS_DRIVER_PATCHLEVEL 0 |
77 | 78 | ||
78 | int amdgpu_vram_limit = 0; | 79 | int amdgpu_vram_limit = 0; |
@@ -122,6 +123,7 @@ int amdgpu_cntl_sb_buf_per_se = 0; | |||
122 | int amdgpu_param_buf_per_se = 0; | 123 | int amdgpu_param_buf_per_se = 0; |
123 | int amdgpu_job_hang_limit = 0; | 124 | int amdgpu_job_hang_limit = 0; |
124 | int amdgpu_lbpw = -1; | 125 | int amdgpu_lbpw = -1; |
126 | int amdgpu_compute_multipipe = -1; | ||
125 | 127 | ||
126 | MODULE_PARM_DESC(vramlimit, "Restrict VRAM for testing, in megabytes"); | 128 | MODULE_PARM_DESC(vramlimit, "Restrict VRAM for testing, in megabytes"); |
127 | module_param_named(vramlimit, amdgpu_vram_limit, int, 0600); | 129 | module_param_named(vramlimit, amdgpu_vram_limit, int, 0600); |
@@ -265,6 +267,9 @@ module_param_named(job_hang_limit, amdgpu_job_hang_limit, int ,0444); | |||
265 | MODULE_PARM_DESC(lbpw, "Load Balancing Per Watt (LBPW) support (1 = enable, 0 = disable, -1 = auto)"); | 267 | MODULE_PARM_DESC(lbpw, "Load Balancing Per Watt (LBPW) support (1 = enable, 0 = disable, -1 = auto)"); |
266 | module_param_named(lbpw, amdgpu_lbpw, int, 0444); | 268 | module_param_named(lbpw, amdgpu_lbpw, int, 0444); |
267 | 269 | ||
270 | MODULE_PARM_DESC(compute_multipipe, "Force compute queues to be spread across pipes (1 = enable, 0 = disable, -1 = auto)"); | ||
271 | module_param_named(compute_multipipe, amdgpu_compute_multipipe, int, 0444); | ||
272 | |||
268 | #ifdef CONFIG_DRM_AMDGPU_SI | 273 | #ifdef CONFIG_DRM_AMDGPU_SI |
269 | 274 | ||
270 | #if defined(CONFIG_DRM_RADEON) || defined(CONFIG_DRM_RADEON_MODULE) | 275 | #if defined(CONFIG_DRM_RADEON) || defined(CONFIG_DRM_RADEON_MODULE) |