drm/vc4: kms: Add functions to create the state objects 04/246704/1
authorMaxime Ripard <maxime@cerno.tech>
Tue, 3 Nov 2020 08:09:12 +0000 (17:09 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 3 Nov 2020 08:09:12 +0000 (17:09 +0900)
commit29f6ebcf83fb4d1f1f407a9da191ccffc927cfd3
treed09d959e8e3a6e9a15effad0aff87a40a6a11635
parent18a12e7b42d9a732fa402b739ebffd7dbe92cb39
drm/vc4: kms: Add functions to create the state objects

We're going to add a new private state, so let's move the previous state
function creation to some functions to make further additions easier.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
[hoegeun.kwon: Needed to fix page flip issue of dual hdmi and for enable
force hotplug configure.]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Change-Id: Ice57c56dfbdfbb81f486cba7626512cfbb12b905
drivers/gpu/drm/vc4/vc4_kms.c