]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: add drm_file reference in userq_mgr
authorSunil Khatri <sunil.khatri@amd.com>
Tue, 22 Apr 2025 12:25:50 +0000 (17:55 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 May 2025 17:29:18 +0000 (13:29 -0400)
commit30ff75809d0359566fda48883dcc15bf427558e9
tree868fccd3041e34051e49042ff6dcb2190f998558
parentfc3817fb499605a8e9cfebdc2615da0ec114b281
drm/amdgpu: add drm_file reference in userq_mgr

drm_file will be used in usermode queues code to
enable better process information in logging and hence
add drm_file part of the userq_mgr struct.

update the drm_file pointer in userq_mgr for each
amdgpu_driver_open_kms.

Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h