drm: change timing to set color format for primary plane without universal plane
authorTomohito Esaki <etom@igel.co.jp>
Mon, 30 Mar 2020 08:10:54 +0000 (17:10 +0900)
committerTomohito Esaki <etom@igel.co.jp>
Mon, 30 Mar 2020 08:43:20 +0000 (17:43 +0900)
commit51048463dae4ace13776bb77675316007083a6ee
tree2eb0de91dacea12fb00be6f1bc8034e2dccf282b
parent61abf35ec4b1f64056810bb0aa1623d971f8af16
drm: change timing to set color format for primary plane without universal plane

Without universal plane, the weston crashes with null pointer access in
set_gbm_format function because that function called before output
enable function. By changing timing to set color format for primary
plane in this case, this issue fixes.

Signed-off-by: Tomohito Esaki <etom@igel.co.jp>
libweston/backend-drm/drm.c