Quoting Chris Wilson (2018-06-05 10:19:44)
> The legacy gen6 ppgtt needs a little more hand holding than gen8+, and
> so requires a larger structure. As I intend to make this slightly more
> complicated in the future, separate the gen6 from the core gen8 hw
> struct by subclassing. This patch moves the gen6 only features out to
> gen6_hw_ppgtt and pipes the new type everywhere that needs it.
> 
> Signed-off-by: Chris Wilson <[email protected]>
> Cc: Joonas Lahtinen <[email protected]>
> Cc: Mika Kuoppala <[email protected]>
> Cc: Matthew Auld <[email protected]>

It's at times confusing when gen6_foo takes either the ppgtt or
ppgtt->base, but at least compiler will protect from that.

Reviewed-by: Joonas Lahtinen <[email protected]>

Regards, Joonas
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to