aboutsummaryrefslogtreecommitdiff
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorPaulo Zanoni <[email protected]>2014-01-07 14:55:53 -0200
committerDaniel Vetter <[email protected]>2014-01-10 17:56:39 +0100
commit5a65f3582e011d0de947420b89c13442a2fda5b8 (patch)
tree5f53a3aaf5c56e5fe1ece1b5a45ab28ff06146c7 /fs/jbd2/commit.c
parentfeb56b934463a7339ebc3c3cf2497c7958fe5a60 (diff)
drm/i915: don't set modes for 2 connectors on the same encoder
In some cases we have more than 1 connector associated to an encoder (e.g., SDVO, Haswell DP/HDMI) and we can only set a mode for one of these connectors. If we only allowed modesets for connected connectors we would never need this patch, but since we do allow modeset for disconnected connectors we may see user space trying to set modes on the two connectors attached to the same encoder, so we need to forbid that. This problem can be reproduced by running the following intel-gpu-tools test case: ./kms_setmode --run-subtest clone-exclusive-crtc Thanks to Daniel Vetter for providing a version of this patch on pastebin. Credits-to: Daniel Vetter <[email protected]> Signed-off-by: Paulo Zanoni <[email protected]> Reviewed-by: Damien Lespiau <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions