]> git.baikalelectronics.ru Git - kernel.git/commit
drm/kms/fb: add polling support for when nothing is connected.
authorDave Airlie <airlied@redhat.com>
Tue, 30 Mar 2010 05:34:17 +0000 (05:34 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Apr 2010 00:29:52 +0000 (10:29 +1000)
commit349af92e5b3120054d5e79c8000c1852d1df4963
treece701b338b6cd84e07a6259b56dca9df9875aedb
parent81d1961fba7f601f503ea2fd19a228217b7edb1e
drm/kms/fb: add polling support for when nothing is connected.

When we are running in a headless environment we have no idea what
output the user might plug in later, we only have hotplug detect
from the digital outputs. So if we detect no connected outputs at
initialisation, start a slow work operation to poll every 5 seconds
for an output.

this is only hooked up for radeon so far, on hw where we have full
hotplug detection there is no need for this.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/Kconfig
drivers/gpu/drm/drm_fb_helper.c
drivers/gpu/drm/radeon/radeon_fb.c
drivers/gpu/drm/radeon/radeon_irq_kms.c
drivers/gpu/drm/radeon/radeon_mode.h
include/drm/drm_fb_helper.h