Hi Chris,
> This patch extends the current DRM_I915_GEM_GET_APERTURE ioctl to
> include a couple of new fields in its reply to userspace - the total
> amount of space available in the mappable region of the aperture and
> also the single largest block available.
Would it be possible to include the total size of the mappable region
as well? Currently libdrm_intel has a:
/* XXX add a query for the kernel value? */
in drm_intel_get_aperture_sizes(), and some fallback code that uses
libpciaccess to figure out the size of the aperture. That is a bit of
a problem for systems like OpenBSD that restrict userland access to
PCI config space.
Thanks,
Mark
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx