diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-12-10 18:22:31 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2015-12-23 12:52:37 +0200 |
commit | ae35b56e367b9fef7f5de701cf8c1c3dd954dded (patch) | |
tree | f613a527ad7336d79149f9f1a888f7b55d7b2db0 /drivers/vfio | |
parent | a98728e0bb978fbe9246c93ea89198de612c22e6 (diff) |
drm/i915: Unbreak check_digital_port_conflicts()
Atomic changes broke check_digital_port_conflicts(). It needs to look
at the global situation instead of just trying to find a conflict
within the current atomic state.
This bug made my HSW explode spectacularly after I had split the DDI
encoders into separate DP and HDMI encoders. With the fix, things
seem much more solid.
I hope holding the connection_mutex is enough protection that we can
actually walk the connectors even if they're not part of the current
atomic state...
v2: Regenerate the patch so that it actually applies (Jani)
Cc: stable@vger.kernel.org
Cc: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fixes: 5448a00d3f06 ("drm/i915: Don't use staged config in check_digital_port_conflicts()")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449764551-12466-1-git-send-email-ville.syrjala@linux.intel.com
(cherry picked from commit 0bff4858653312a10c83709e0009c3adb87e6f1e)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions