Re: [PATCH 2/8] drm/ingenic: Simplify code by using hwdescs array

2021-08-08 Thread Paul Cercueil
Hi Thomas, Le dim., août 8 2021 at 20:42:53 +0200, Thomas Zimmermann a écrit : Hi Am 08.08.21 um 15:45 schrieb Paul Cercueil: Instead of having one 'hwdesc' variable for the plane #0 and one for the plane #1, use a 'hwdesc[2]' array, where the DMA hardware descriptors are indexed by the

Re: [PATCH 2/8] drm/ingenic: Simplify code by using hwdescs array

2021-08-08 Thread Thomas Zimmermann
Hi Am 08.08.21 um 15:45 schrieb Paul Cercueil: Instead of having one 'hwdesc' variable for the plane #0 and one for the plane #1, use a 'hwdesc[2]' array, where the DMA hardware descriptors are indexed by the plane's number. Signed-off-by: Paul Cercueil ---

[PATCH 2/8] drm/ingenic: Simplify code by using hwdescs array

2021-08-08 Thread Paul Cercueil
Instead of having one 'hwdesc' variable for the plane #0 and one for the plane #1, use a 'hwdesc[2]' array, where the DMA hardware descriptors are indexed by the plane's number. Signed-off-by: Paul Cercueil --- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 38 --- 1 file