kmstest: enable display even if crtc doesn't have fb
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2016 07:19:43 +0000 (10:19 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 30 Sep 2016 07:19:43 +0000 (10:19 +0300)
commit1852a37054072aca377cc0e46d88d8b6d8c575a6
tree759d447949ef7dc88f468fe8a906a8f7e9ff1c11
parent7785a21f35c0bfb7a9eaec0ab2a4ace45f241c96
kmstest: enable display even if crtc doesn't have fb

With atomic modesetting we can enable the crtc without a primary plane.
This allows enabling only a plane on the screen.

Change set_crtcs_n_planes() to allow this.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
utils/kmstest.cpp