summaryrefslogtreecommitdiff
path: root/src/sna/sna.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-05-04 14:00:13 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-05-04 14:05:27 +0100
commit5054e2271210a52bf88b0f12c35d687ce9e8210d (patch)
tree6b5cb40fc34015e46e0a642962a999f076404064 /src/sna/sna.h
parentb400dd22c28a08d7644b4ede076be9d8c2b8ca9d (diff)
Remove the driver option to delete connectors on unplugging
With a MST topology change, we can find outputs may disappear. We offered a choice as to whether to simply disable them or completely remove them from the listing of available outputs. However, clients never expected that their operation on any output could trigger a BadID XError (or that there is anyway to prevent race conditions). As such an option was made to disable by default, but allow testing complete removal. Now the RandR protocol has been clarified such that XID assigned to outputs are now permanent, as such the option breaks the spec, so drop it. See randrproto commit 895ee5264524c7c239ee4ef5e39c4e295323fb51 Author: Dave Airlie <airlied@redhat.com> Date: Wed Apr 22 10:58:18 2015 +1000 randrproto: clarify output XID lifetimes. This just makes a note that randr won't make outputs disappear dynamically. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/sna/sna.h')
-rw-r--r--src/sna/sna.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/sna.h b/src/sna/sna.h
index e51ee14f..374754b4 100644
--- a/src/sna/sna.h
+++ b/src/sna/sna.h
@@ -248,7 +248,6 @@ struct sna {
#define SNA_FLUSH_GTT 0x400
#define SNA_PERFORMANCE 0x1000
#define SNA_POWERSAVE 0x2000
-#define SNA_REMOVE_OUTPUTS 0x4000
#define SNA_HAS_FLIP 0x10000
#define SNA_HAS_ASYNC_FLIP 0x20000
#define SNA_LINEAR_FB 0x40000