diff options
| author | Matt Roper <[email protected]> | 2025-02-18 20:05:12 +0000 |
|---|---|---|
| committer | Matt Roper <[email protected]> | 2025-02-19 15:14:59 +0000 |
| commit | a1e5b6d83e03d60d15ba393cbbd7d5c13e5cf0b3 (patch) | |
| tree | de7c5a38e39ca2127820269b3cb9cc42598e8edc /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/xe/display: Spin-off xe_display runtime/d3cold sequences (diff) | |
| download | kernel-a1e5b6d83e03d60d15ba393cbbd7d5c13e5cf0b3.tar.gz kernel-a1e5b6d83e03d60d15ba393cbbd7d5c13e5cf0b3.zip | |
drm/xe: Drop unnecessary GT lookup in xe_exec_queue_create_ioctl()
xe_exec_queue_create_ioctl() performs a lookup of the xe_gt for the GT
ID passed from userspace, but the result is never actually used. Since
there's already a separate (and earlier) check that the ID passed from
userspace is valid, the unnecessary lookup can be removed.
Reviewed-by: Jonathan Cavitt <[email protected]>
Reviewed-by: Ashutosh Dixit <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Matt Roper <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
