[Intel-gfx] [RFC 0/2] dumb buffer max size available

Ramalingam C ramalingam.c at intel.com
Tue Jan 21 01:53:03 UTC 2020


As per the discussion at
https://patchwork.freedesktop.org/patch/347384/?series=71618&rev=1
I am proposing this extension for drm_getcap to provide the available
memory size for dumb buffer.

Ramalingam C (2):
  drm: dumb buffer size availability
  drm/i915: implement dumb_size_available callback

 drivers/gpu/drm/drm_ioctl.c     |  5 +++++
 drivers/gpu/drm/i915/i915_drv.c |  1 +
 drivers/gpu/drm/i915/i915_drv.h |  3 +++
 drivers/gpu/drm/i915/i915_gem.c | 17 +++++++++++++++++
 include/drm/drm_drv.h           | 15 +++++++++++++++
 include/uapi/drm/drm.h          |  1 +
 6 files changed, 42 insertions(+)

-- 
2.20.1



More information about the Intel-gfx mailing list