Re: [PATCH v2 12/12] drm/gma500: Move GTT memory-range setup into helper

2022-03-09 Thread Patrik Jakobsson
On Tue, Mar 8, 2022 at 8:52 PM Thomas Zimmermann wrote: > > Move the setup code for GTT/GATT memory ranges into a new helper and > call the function from psb_gtt_init() and psb_gtt_resume(). Removes > code duplication. LGTM Acked-by: Patrik Jakobsson > > Signed-off-by: Thomas Zimmermann > ---

[PATCH v2 12/12] drm/gma500: Move GTT memory-range setup into helper

2022-03-08 Thread Thomas Zimmermann
Move the setup code for GTT/GATT memory ranges into a new helper and call the function from psb_gtt_init() and psb_gtt_resume(). Removes code duplication. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/gma500/gtt.c | 153 +++ 1 file changed, 64