]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: dp aux irq support for g4x/vlv
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 31 Oct 2013 08:53:36 +0000 (09:53 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 18 Nov 2013 08:09:22 +0000 (09:09 +0100)
commitcd080a7e5c59d31345c0a27a287d2916757bedc0
tree6a99cb3eae3558d49b7a45d6e74b8db7ed21636a
parent6ba0bf45b1a1af49f13ff78230b48a908ea65d14
drm/i915: dp aux irq support for g4x/vlv

Now we have this everywhere. Next up would be to wire up the DP
hotplug pin to speed up panel power sequencing for eDP panels ...

I've decided to leave the has_aux_irq logic in the code, it should
come handy for hw bringup.

For testing/fail-safety the dp aux code already has a timeout when
waiting for interrupts to signal completion and screams rather loud if
they don't arrive in time. Given that we need a real piece of hw to
talk to anyway this is probably as good as it gets.

v2: Don't check the dp aux channel bits on i965 machines, they have a
different meaning there. Yay for reusing bits at will! Spotted by
Jani.

Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_dp.c