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 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx