Series is: Reviewed-by: Alex Deucher <[email protected]>
On Wed, Dec 10, 2025 at 2:29 AM Prike Liang <[email protected]> wrote: > > This reverts commit cd4fcfed0dd7fb8d1eb2ec937ae1644534a307bd. > > Hold this patch untill the mesa implements the AMDGPU_USERQ_OP_QUERY_STATUS. > > Signed-off-by: Prike Liang <[email protected]> > --- > include/uapi/drm/amdgpu_drm.h | 14 -------------- > 1 file changed, 14 deletions(-) > > diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h > index 986672e7378c..c1336ed4ff75 100644 > --- a/include/uapi/drm/amdgpu_drm.h > +++ b/include/uapi/drm/amdgpu_drm.h > @@ -334,7 +334,6 @@ union drm_amdgpu_ctx { > /* user queue IOCTL operations */ > #define AMDGPU_USERQ_OP_CREATE 1 > #define AMDGPU_USERQ_OP_FREE 2 > -#define AMDGPU_USERQ_OP_QUERY_STATUS 3 > > /* queue priority levels */ > /* low < normal low < normal high < high */ > @@ -347,12 +346,6 @@ union drm_amdgpu_ctx { > /* for queues that need access to protected content */ > #define AMDGPU_USERQ_CREATE_FLAGS_QUEUE_SECURE (1 << 2) > > - > -/* the queue is hung */ > -#define AMDGPU_USERQ_QUERY_STATUS_FLAGS_HUNG (1 << 0) > -/* indicate vram lost since queue was created */ > -#define AMDGPU_USERQ_QUERY_STATUS_FLAGS_VRAMLOST (1 << 1) > - > /* > * This structure is a container to pass input configuration > * info for all supported userqueue related operations. > @@ -434,16 +427,9 @@ struct drm_amdgpu_userq_out { > __u32 _pad; > }; > > -/* The structure to carry output of userqueue ops */ > -struct drm_amdgpu_userq_out_query_state { > - __u32 flags; > - __u32 _pad; > -}; > - > union drm_amdgpu_userq { > struct drm_amdgpu_userq_in in; > struct drm_amdgpu_userq_out out; > - struct drm_amdgpu_userq_out_query_state out_qs; > }; > > /* GFX V11 IP specific MQD parameters */ > -- > 2.34.1 >
