]> Pileus Git - ~andy/linux/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)
commit4aeebd7443e36b0a40032e518a9338f48bd27efc
tree6a99cb3eae3558d49b7a45d6e74b8db7ed21636a
parentc09cd6e9691ec6fce8cb90b65929cad389d39c84
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