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)
commit340764465aa4a586ca332e61ae64883e5ad6f183
tree3588fd1e53d8f52202c1718fa60928fa5915b19a
parent305151e36e3d5e0592580e6db3c5855a68f2bf6b
drm/radeon: avoid bouncing connector status btw disconnected & unknown

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>
drivers/gpu/drm/radeon/radeon_connectors.c