diff options
| author | Paul Cercueil <paul@crapouillou.net> | 2021-10-26 19:12:35 +0100 |
|---|---|---|
| committer | Paul Cercueil <paul@crapouillou.net> | 2021-10-29 21:29:09 +0100 |
| commit | 1bdb542da736e299a3fb291e5905a14dc955b938 (patch) | |
| tree | 4e44c945905b127bc6ec26dc090fa652a4353323 /tools/perf/scripts/python | |
| parent | drm: import DMA_BUF module namespace (diff) | |
| download | linux-1bdb542da736e299a3fb291e5905a14dc955b938.tar.gz linux-1bdb542da736e299a3fb291e5905a14dc955b938.zip | |
drm/ingenic: Simplify code by using hwdescs array
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] to simplify things. Add
ingenic_drm_configure_hwdesc*() functions to factorize code.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20211026181240.213806-2-paul@crapouillou.net
Tested-by: Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: Christophe Branchereau <cbranchereau@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
