]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:18:10 +0000 (11:18 -0800)
commit42fbff5899644446965e11adffd5330636f82e7d
tree7c4b8e01fc6c07e97c54d48ee1e8dc810ee5bab7
parentaa7ae66d76a2e166ebebbfbd6b00dc7def41cfe7
drm/radeon: avoid bouncing connector status btw disconnected & unknown

commit 340764465aa4a586ca332e61ae64883e5ad6f183 upstream.

Since force handling rework of d0d0a225e6ad43314c9aa7ea081f76adc5098ad4
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>
Cc: Stefan Lippers-Hollmann <s.L-H@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/radeon_connectors.c