Re: [RESEND PATCH v3 1/6] drm/ingenic: Simplify code by using hwdescs array

2021-10-29 Thread Christophe Branchereau
Hi Paul, Reviewed-by: Christophe Branchereau On Tue, Oct 26, 2021 at 8:12 PM Paul Cercueil wrote: > > Instead of having one 'hwdesc' variable for the plane #0, one for the > plane #1 and one for the palette, use a 'hwdesc[3]' array, where the > DMA hardware descriptors are indexed by the

[RESEND PATCH v3 1/6] drm/ingenic: Simplify code by using hwdescs array

2021-10-26 Thread Paul Cercueil
Instead of having one 'hwdesc' variable for the plane #0, one for the plane #1 and one for the palette, use a 'hwdesc[3]' array, where the DMA hardware descriptors are indexed by the plane's number. v2: dma_hwdesc_addr() extended to support palette hwdesc. The palette hwdesc is now hwdesc[3]

[PATCH v3 1/6] drm/ingenic: Simplify code by using hwdescs array

2021-09-22 Thread Paul Cercueil
Instead of having one 'hwdesc' variable for the plane #0, one for the plane #1 and one for the palette, use a 'hwdesc[3]' array, where the DMA hardware descriptors are indexed by the plane's number. v2: dma_hwdesc_addr() extended to support palette hwdesc. The palette hwdesc is now hwdesc[3]