Skip to content

allow DRM drivers to limit creation of blobs

Steve Cohen dri-devel linux-arm-msm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm: add driver hook for create blob limitationsdrivers/gpu/drm/drm_property.c include/drm/drm_drv.h+16 -00 replies
2/3drm/msm: add support for createblob_check driver hookdrivers/gpu/drm/msm/msm_drv.c drivers/gpu/drm/msm/msm_kms.h+26 -00 replies
3/3drm/msm/dpu: check blob limitations during create blob ioctldrivers/gpu/drm/msm/disp/dpu1/dpu_kms.c+14 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] allow DRM drivers to limit creation of blobs

Fuzzers used in Android compliance testing repeatedly call the create blob IOCTL which eventually exhausts the system memory. This series adds a hook which allows drivers to impose their own limitations on the size and/or number of blobs created.

Steve Cohen (3):
drm: add driver hook for create blob limitations drm/msm: add support for createblob_check driver hook drm/msm/dpu: check blob limitations during create blob ioctl

 drivers/gpu/drm/drm_property.c          |  7 +++++++
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 14 ++++++++++++++
 drivers/gpu/drm/msm/msm_drv.c           | 25 +++++++++++++++++++++++++
 drivers/gpu/drm/msm/msm_kms.h           |  1 +
 include/drm/drm_drv.h                   |  9 +++++++++
 5 files changed, 56 insertions(+)
Signature · 7 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

_______________________________________________
Freedreno mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/freedreno