Re: [PATCH v3 10/16] drm/i915/guc: Convert golden context prep to iosys_map

2022-02-18 Thread Matthew Brost
On Wed, Feb 16, 2022 at 09:41:41AM -0800, Lucas De Marchi wrote: > Use the saved ads_map to prepare the golden context. One difference from > the init context is that this function can be called before there is a > gem object (and thus the guc->ads_map) to calculare the size of the > golden

[PATCH v3 10/16] drm/i915/guc: Convert golden context prep to iosys_map

2022-02-16 Thread Lucas De Marchi
Use the saved ads_map to prepare the golden context. One difference from the init context is that this function can be called before there is a gem object (and thus the guc->ads_map) to calculare the size of the golden context that should be allocated for that object. So in this case the function