-
- Downloads
drm/xe/oa/uapi: Make OA buffer size configurable
Add a new property called DRM_XE_OA_PROPERTY_OA_BUFFER_SIZE to allow OA buffer size to be configurable from userspace. With this OA buffer size can be configured to any power of 2 size between 128KB and 128MB and it would default to 16MB in case the size is not supplied. v2: - Rebase v3: - Add oa buffer size to capabilities [Ashutosh] - Address several nitpicks [Ashutosh] - Fix commit message/subject [Ashutosh] BSpec: 61100, 61228 Signed-off-by:Sai Teja Pottumuttu <sai.teja.pottumuttu@intel.com> Reviewed-by:
Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by:
Ashutosh Dixit <ashutosh.dixit@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241205041913.883767-2-sai.teja.pottumuttu@intel.com
Showing
- drivers/gpu/drm/xe/regs/xe_oa_regs.h 1 addition, 8 deletionsdrivers/gpu/drm/xe/regs/xe_oa_regs.h
- drivers/gpu/drm/xe/xe_oa.c 43 additions, 12 deletionsdrivers/gpu/drm/xe/xe_oa.c
- drivers/gpu/drm/xe/xe_oa_types.h 1 addition, 1 deletiondrivers/gpu/drm/xe/xe_oa_types.h
- drivers/gpu/drm/xe/xe_query.c 2 additions, 1 deletiondrivers/gpu/drm/xe/xe_query.c
- include/uapi/drm/xe_drm.h 9 additions, 0 deletionsinclude/uapi/drm/xe_drm.h
Loading
Please register or sign in to comment