]> git.hungrycats.org Git - linux/commitdiff
drm/amdgpu/jpeg: add flags for disabling KQs/UQs
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 27 May 2026 20:05:34 +0000 (16:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jun 2026 20:33:34 +0000 (16:33 -0400)
Add flags for handling disabling of kernel queues or
user queues.

Reviewed-by: Kent Russell <kent.russell@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.h

index 346ae0ab09d3336f0c02d6f69ee90a4097c62ccd..fe95d9188713b423b19aff1b13f31dd94e7362bb 100644 (file)
@@ -149,6 +149,9 @@ struct amdgpu_jpeg {
        u32 *ip_dump;
        u32 reg_count;
        const struct amdgpu_hwip_reg_entry *reg_list;
+
+       bool disable_uq;
+       bool disable_kq;
 };
 
 int amdgpu_jpeg_sw_init(struct amdgpu_device *adev);