diff options
author | 2012-08-29 16:43:58 +0300 | |
---|---|---|
committer | 2012-09-03 10:09:30 +0200 | |
commit | 5fa7ac9c9cadd598a22c09660c270bdb92da1e91 (patch) | |
tree | 504c065aa77951aa5294064a321122aa8052b513 /tools/perf/scripts/python/sched-migration.py | |
parent | drm/i915: only enable sdvo hotplug irq if needed (diff) | |
download | linux-dev-5fa7ac9c9cadd598a22c09660c270bdb92da1e91.tar.xz linux-dev-5fa7ac9c9cadd598a22c09660c270bdb92da1e91.zip |
drm/i915: fix sdvo hotplug support check and activation
The sdvo hotplug support check and activation has worked by coincidence for
TMDS0. The boolean value returned by intel_sdvo_supports_hotplug() was
masked with a bit shifted by device number, which also should have been one
of SDVO_OUTPUT_* bits instead. Boolean true masked with 1 shifted by 0 just
happened to match SDVO_OUTPUT_TMDS0...
Get hotplug support as a bit mask, check the correct bits for support, and
use the correct bits for activating hotplug support.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Simon Farnsworth <simon.farnsworth@onelan.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions