Re: [Intel-gfx] [PATCH v2 2/5] drm/i915/uc: Reserve upper range of GGTT

2019-04-19 Thread Chris Wilson
Quoting Fernando Pacheco (2019-04-19 18:14:21) > > On 4/19/19 12:14 AM, Chris Wilson wrote: > > Quoting Fernando Pacheco (2019-04-19 00:31:48) > >> - /* Trim the GGTT to fit the GuC mappable upper range (when > >> enabled). > >> -* This is easier than doing range restriction on the

Re: [Intel-gfx] [PATCH v2 2/5] drm/i915/uc: Reserve upper range of GGTT

2019-04-19 Thread Fernando Pacheco
On 4/19/19 12:14 AM, Chris Wilson wrote: > Quoting Fernando Pacheco (2019-04-19 00:31:48) >> GuC and HuC depend on struct_mutex for device >> reinitialization. Moving away from this dependency >> requires perma-pinning the firmware images in GGTT. >> The upper portion of the GuC address space has

Re: [Intel-gfx] [PATCH v2 2/5] drm/i915/uc: Reserve upper range of GGTT

2019-04-19 Thread Chris Wilson
Quoting Fernando Pacheco (2019-04-19 00:31:48) > GuC and HuC depend on struct_mutex for device > reinitialization. Moving away from this dependency > requires perma-pinning the firmware images in GGTT. > The upper portion of the GuC address space has > a sizeable hole (several MB) that is inaccessi

[Intel-gfx] [PATCH v2 2/5] drm/i915/uc: Reserve upper range of GGTT

2019-04-18 Thread Fernando Pacheco
GuC and HuC depend on struct_mutex for device reinitialization. Moving away from this dependency requires perma-pinning the firmware images in GGTT. The upper portion of the GuC address space has a sizeable hole (several MB) that is inaccessible by GuC. Reserve this range within GGTT as it can comf