Re: [PATCH] drm/i915: Extend GET_APERTURE ioctl to report available map space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux