Re: [PATCH 2/2] drm/i915: Correct PPGTT total size

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

 



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 <ben@xxxxxxxxxxxx>
Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
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