Re: [Intel-gfx] [PATCH 1/7] drm/i915: setup the LMEM region

2021-01-26 Thread Chris Wilson
Quoting Matthew Auld (2021-01-26 10:38:09) > On 26/01/2021 10:09, Tvrtko Ursulin wrote: > > > > On 26/01/2021 09:46, Matthew Auld wrote: > >> +struct intel_memory_region * > >> +i915_gem_setup_lmem(struct drm_i915_private *i915) > >> +{ > >> +    return setup_lmem(i915); > >> +} > > > > Was it ev

Re: [Intel-gfx] [PATCH 1/7] drm/i915: setup the LMEM region

2021-01-26 Thread Matthew Auld
On 26/01/2021 10:09, Tvrtko Ursulin wrote: On 26/01/2021 09:46, Matthew Auld wrote: Hook up the LMEM region. Addresses will start from zero, and for CPU access we get LMEM_BAR which is just a 1:1 mapping of said region. Based on a patch from Michel Thierry. v2 by Jani: - use intel_uncore_read

Re: [Intel-gfx] [PATCH 1/7] drm/i915: setup the LMEM region

2021-01-26 Thread Tvrtko Ursulin
On 26/01/2021 09:46, Matthew Auld wrote: Hook up the LMEM region. Addresses will start from zero, and for CPU access we get LMEM_BAR which is just a 1:1 mapping of said region. Based on a patch from Michel Thierry. v2 by Jani: - use intel_uncore_read/intel_uncore_write - remove trailing blank

[Intel-gfx] [PATCH 1/7] drm/i915: setup the LMEM region

2021-01-26 Thread Matthew Auld
Hook up the LMEM region. Addresses will start from zero, and for CPU access we get LMEM_BAR which is just a 1:1 mapping of said region. Based on a patch from Michel Thierry. v2 by Jani: - use intel_uncore_read/intel_uncore_write - remove trailing blank line v3: s/drm_info/drm_dbg for info which