]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: avoid bouncing connector status btw disconnected & unknown
authorJerome Glisse <jglisse@redhat.com>
Mon, 24 Oct 2011 22:16:34 +0000 (18:16 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 1 Nov 2011 16:01:49 +0000 (16:01 +0000)
commit820a669be38971ef5913eeab805829136c9c14ff
tree3588fd1e53d8f52202c1718fa60928fa5915b19a
parentee9e02ef36a1698ea9ae7a44d55c0256f7e9a53d
drm/radeon: avoid bouncing connector status btw disconnected & unknown

Since force handling rework of 31f1a3b2ca388ca5d66f481b98ef0cbbcb871948
we could end up bouncing connector status btw disconnected and unknown.
When connector status change a call to output_poll_changed happen which
in turn ask again for detect but with force set.

So set the load detect flags whenever we report the connector as
connected or unknown this avoid bouncing btw disconnected and unknown.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c