[Intel-gfx] [PATCH] drm/mm: Support 4 GiB and larger ranges
Dave Airlie
airlied at gmail.com
Mon Jan 26 14:51:12 PST 2015
On 23 January 2015 at 18:05, Thierry Reding <thierry.reding at gmail.com> wrote:
> From: Thierry Reding <treding at nvidia.com>
>
> The current implementation is limited by the number of addresses that
> fit into an unsigned long. This causes problems on 32-bit Tegra where
> unsigned long is 32-bit but drm_mm is used to manage an IOVA space of
> 4 GiB. Given the 32-bit limitation, the range is limited to 4 GiB - 1
> (or 4 GiB - 4 KiB for page granularity).
>
> This commit changes the start and size of the range to be an unsigned
> 64-bit integer, thus allowing much larger ranges to be supported.
This seems fine to me, Chris, Daniel or Thomas, any objections?
Dave.
More information about the Intel-gfx
mailing list