On Sat, Mar 08, 2014 at 11:58:17AM -0800, Ben Widawsky wrote:
> Our code allows have a PPGTT that is smaller than the maximum size for
> GEN6-GEN7. Though I don't think this actually ever occurs, the code may
> as well work properly and more importantly look correct by using the
> variable size instead of the HW max.

Might mention that the num_pd_entries is set during allocation of the
page directories, and so here we just compute the size for the drm_mm
range manager (and the variables only exist for consistency with legacy
GGTT interfaces).
 
> Signed-off-by: Ben Widawsky <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to