]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/omap: Use omapdss_stack_is_ready() to check that the display stack is up
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 3 May 2016 19:08:01 +0000 (22:08 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Apr 2017 09:36:40 +0000 (12:36 +0300)
commita09d2bc1503508c17ef3a71c6b1905e3660f3029
treea2aef216bb3f80593f74d788107e5972c219061e
parent1e08c822689c39bd86d2154490f89265329e9c58
drm/omap: Use omapdss_stack_is_ready() to check that the display stack is up

Instead of 'guessing' based on aliases of the status of the DSS drivers,
use the new interface to check that all needed drivers are loaded.
In this way we can be sure that all needed drivers are loaded so it is
safe to continue the probing of omapdrm.
This method will allow the omapdrm to be probed 'headless', without
outputs.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/omap_drv.c