File tree Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 148
148
#define HBLANK_START_COUNT_96 4
149
149
#define HBLANK_START_COUNT_128 5
150
150
151
+ /* LPE Audio */
152
+ #define I915_HDMI_LPE_AUDIO_BASE (VLV_DISPLAY_BASE + 0x65000)
153
+ #define I915_HDMI_LPE_AUDIO_SIZE 0x1000
154
+
155
+ #define VLV_AUD_CHICKEN_BIT_REG _MMIO(VLV_DISPLAY_BASE + 0x62F38)
156
+ #define VLV_CHICKEN_BIT_DBG_ENABLE (1 << 0)
157
+
158
+ #define _VLV_AUD_PORT_EN_B_DBG 0x62F20
159
+ #define _VLV_AUD_PORT_EN_C_DBG 0x62F30
160
+ #define _VLV_AUD_PORT_EN_D_DBG 0x62F34
161
+ #define VLV_AUD_PORT_EN_DBG (port ) _MMIO_BASE_PORT3(VLV_DISPLAY_BASE, (port) - PORT_B, \
162
+ _VLV_AUD_PORT_EN_B_DBG, \
163
+ _VLV_AUD_PORT_EN_C_DBG, \
164
+ _VLV_AUD_PORT_EN_D_DBG)
165
+ #define VLV_AMP_MUTE (1 << 1)
166
+
151
167
#endif /* __INTEL_AUDIO_REGS_H__ */
Original file line number Diff line number Diff line change 72
72
73
73
#include "i915_drv.h"
74
74
#include "i915_irq.h"
75
- #include "i915_reg .h"
75
+ #include "intel_audio_regs .h"
76
76
#include "intel_de.h"
77
77
#include "intel_lpe_audio.h"
78
78
#include "intel_pci_config.h"
Original file line number Diff line number Diff line change 966
966
#define I915_ASLE_INTERRUPT (1 << 0)
967
967
#define I915_BSD_USER_INTERRUPT (1 << 25)
968
968
969
- #define I915_HDMI_LPE_AUDIO_BASE (VLV_DISPLAY_BASE + 0x65000)
970
- #define I915_HDMI_LPE_AUDIO_SIZE 0x1000
971
-
972
- /* DisplayPort Audio w/ LPE */
973
- #define VLV_AUD_CHICKEN_BIT_REG _MMIO(VLV_DISPLAY_BASE + 0x62F38)
974
- #define VLV_CHICKEN_BIT_DBG_ENABLE (1 << 0)
975
-
976
- #define _VLV_AUD_PORT_EN_B_DBG 0x62F20
977
- #define _VLV_AUD_PORT_EN_C_DBG 0x62F30
978
- #define _VLV_AUD_PORT_EN_D_DBG 0x62F34
979
- #define VLV_AUD_PORT_EN_DBG (port ) _MMIO_BASE_PORT3(VLV_DISPLAY_BASE, (port) - PORT_B, \
980
- _VLV_AUD_PORT_EN_B_DBG, \
981
- _VLV_AUD_PORT_EN_C_DBG, \
982
- _VLV_AUD_PORT_EN_D_DBG)
983
- #define VLV_AMP_MUTE (1 << 1)
984
-
985
969
#define GEN6_BSD_RNCID _MMIO(0x12198)
986
970
987
971
#define GEN7_FF_THREAD_MODE _MMIO(0x20a0)
You can’t perform that action at this time.
0 commit comments