]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ingenic: Add support for private objects
authorPaul Cercueil <paul@crapouillou.net>
Tue, 26 Oct 2021 18:12:36 +0000 (19:12 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Fri, 29 Oct 2021 20:29:48 +0000 (21:29 +0100)
commit318855d82adc173f11812eccaa3ef0e8b9fae9ad
tree9ec45c7aa46b487925954201057c57b8b3dd1d84
parent18c184eaa154183c6188c53debae2041bdd1d6b7
drm/ingenic: Add support for private objects

Until now, the ingenic-drm as well as the ingenic-ipu drivers used to
put state-specific information in their respective private structure.

Add boilerplate code to support private objects in the two drivers, so
that state-specific information can be put in the state-specific private
structure.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20211026181240.213806-3-paul@crapouillou.net
Tested-by: Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: Christophe Branchereau <cbranchereau@gmail.com>
drivers/gpu/drm/ingenic/ingenic-drm-drv.c
drivers/gpu/drm/ingenic/ingenic-ipu.c