diff options
| author | Christian König <[email protected]> | 2024-12-09 17:40:48 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-08 20:48:19 +0000 |
| commit | 91acb5d47b7cc9fe17a7d0034e5f5ac996633bae (patch) | |
| tree | a4ccbf8ee2d50a2eb11e05af1c04f477406c58d7 /drivers/gpu/drm/amd/amdgpu/mes_userqueue.c | |
| parent | drm/amdgpu: Fix the use-after-free issue in wait IOCTL (diff) | |
| download | kernel-91acb5d47b7cc9fe17a7d0034e5f5ac996633bae.tar.gz kernel-91acb5d47b7cc9fe17a7d0034e5f5ac996633bae.zip | |
drm/amdgpu: Modify the MES process va end limit
Modify the MES process va end limit to max pfn.
Signed-off-by: Christian König <[email protected]>
Signed-off-by: Arunpravin Paneer Selvam <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mes_userqueue.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mes_userqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c b/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c index 1dde099382ea..9a6a5553bbc3 100644 --- a/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c +++ b/drivers/gpu/drm/amd/amdgpu/mes_userqueue.c @@ -109,7 +109,7 @@ static int mes_userq_map(struct amdgpu_userq_mgr *uq_mgr, memset(&queue_input, 0x0, sizeof(struct mes_add_queue_input)); queue_input.process_va_start = 0; - queue_input.process_va_end = (adev->vm_manager.max_pfn - 1) << AMDGPU_GPU_PAGE_SHIFT; + queue_input.process_va_end = adev->vm_manager.max_pfn - 1; /* set process quantum to 10 ms and gang quantum to 1 ms as default */ queue_input.process_quantum = 100000; |
