radeon_hd: Rework dp aux functions to take connector index

* This is less pretty, but we need access to the connector
  to find the HPD gpio pin mask on the card.
* dp_aux communications seem to work again.
* If you have a DisplayPort item attached to your card you
  may want to just unplug it at this point. We attempt DP
  link training and it fails. This failure will also cause
  other monitors to not function as app_server still isn't
  multi-head aware (#10486)
This commit is contained in:
Alexander von Gluck IV
2014-02-03 20:20:13 -06:00
parent 27a5783afc
commit 339a018112
6 changed files with 149 additions and 116 deletions
@@ -258,4 +258,4 @@
#define EVERGREEN_DC_GPIO_HPD_Y 0x64bc
#endif /* __EVERGREEN_REG_H__ */
#endif /* __EVERGREEN_REG_H__ */
@@ -304,6 +304,7 @@
#define SI_LB_D6_VBLANK_INTERRUPT (1 << 3)
#define SI_DC_HPD6_INTERRUPT (1 << 17)
#define SI_DC_HPD6_RX_INTERRUPT (1 << 18)
#define SI_DC_GPIO_HPD_A 0x65b4
/* 0x6858, 0x7458, 0x10058, 0x10c58, 0x11858, 0x12458 */
#define SI_GRPH_INT_STATUS 0x6858