On 05/25/2013 12:26 PM, Ben Widawsky wrote:
The original pte_encode function needed the dev argument so we could do
platform specific handling via IS_GENX, etc. With the merging of a pte
encoding function there should never been a need to quirk away gen
specific details.
The patch doesn't do much but makes the upcoming reworks in gtt/ppgtt/mm
slightly (albeit, ever so) easier.
CC: Kenneth Graunke <[email protected]>
Signed-off-by: Ben Widawsky <[email protected]>
Seems reasonable to me - just swap out pte_encode based on gen, rather
than looking at gen in the function.
Reviewed-by: Kenneth Graunke <[email protected]>
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx