History

drm/msm/adreno: Expose a PARAM to check AQE support

AQE (Applicaton Qrisc Engine) is required to support VK ray-pipeline. Two conditions should be met to use this HW: 1. AQE firmware should be loaded and programmed 2. Preemption support Expose a new MSM_PARAM to allow userspace to query its support.

Akhil P Oommen committed 7 months ago

Commit 64ac64b1 parent 7fad3304 files · +19 −0Browse files

Showing the changes to include/uapi/drm (1 of 4 files). Show all

Unified · Split

include/uapi/drm/msm_drm.h+1−0
@@ -117,6 +117,7 @@ struct drm_msm_timespec { · 116 unmodified lines
117117 * ioctl will throw -EPIPE.
118118 */
119119 #define MSM_PARAM_EN_VM_BIND 0x16 /* WO, once */
120+#define MSM_PARAM_AQE 0x17 /* RO */
120121
121122 /* For backwards compat. The original support for preemption was based on
122123 * a single ring per priority level so # of priority levels equals the #