]> git.baikalelectronics.ru Git - kernel.git/commit
drm/atmel-hlcdc: Rework the fbdev creation logic
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 28 Nov 2016 14:56:53 +0000 (15:56 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 30 Jan 2017 09:49:34 +0000 (10:49 +0100)
commit6e31b234aad2286e39c60cb20af206de60f3e9c9
treea892d11be8978a058b8db4844dac7fa7ce446ba5
parent8910d3073683e1a698dc9e02fca852eb33d353e1
drm/atmel-hlcdc: Rework the fbdev creation logic

Now that we wait for DRM panels to be available before registering the
DRM device (returning -EPROBE_DEFER if the panel has not been probed
yet), we no longer need to put the fbdev creation code in
->output_poll_changed().

This removes the 10 secs delay between DRM dev registration and fbdev
creation (polling period = 10 seconds).

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reported-by: Alex Vazquez <avazquez.dev@gmail.com>
drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c