Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu: add mqd_update callback to AMDGPU user queue interface

Extend the AMDGPU user queue function interface to support MQD
updates by adding an mqd_update callback.

v2: add the input paramter struct drm_amdgpu_userq_in in mqd_update

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Jesse.Zhang and committed by
Alex Deucher
c26ad36d 79a0ff59

+2
+2
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h
··· 81 81 struct amdgpu_userq_funcs { 82 82 int (*mqd_create)(struct amdgpu_usermode_queue *queue, 83 83 struct drm_amdgpu_userq_in *args); 84 + int (*mqd_update)(struct amdgpu_usermode_queue *queue, 85 + struct drm_amdgpu_userq_in *args); 84 86 void (*mqd_destroy)(struct amdgpu_usermode_queue *uq); 85 87 int (*unmap)(struct amdgpu_usermode_queue *queue); 86 88 int (*map)(struct amdgpu_usermode_queue *queue);