[Intel-gfx] [PATCH 09/14] drm/i915: fix DP AUX register definitions on Haswell
Lespiau, Damien
damien.lespiau at intel.com
Thu Oct 18 15:57:41 CEST 2012
On Mon, Oct 15, 2012 at 7:51 PM, Paulo Zanoni <przanoni at gmail.com> wrote:
> From: Paulo Zanoni <paulo.r.zanoni at intel.com>
>
> The old rule that the AUX registers are just an offset (+4 and +10)
> from output_reg is not true anymore, since output_reg in on the CPU
> and some AUX regs are on the PCH.
Right, dp.output_reg is now DDI_BUF_CTL(port), note that _DATA is
still _AUX_CH_CTL + 4, so could keep that logic and just have switch
for DP_AUX_CH_CTL.
> +#define PCH_DPB_AUX_CH_CTL 0xe4110
> +#define PCH_DPC_AUX_CH_CTL 0xe4210
> +#define PCH_DPD_AUX_CH_CTL 0xe4310
> +
> +#define PCH_DPB_AUX_CH_DATA 0xe4114
> +#define PCH_DPC_AUX_CH_DATA 0xe4214
> +#define PCH_DPD_AUX_CH_DATA 0xe4314
Those defines are already there AFAICS:
http://cgit.freedesktop.org/~danvet/drm-intel/tree/drivers/gpu/drm/i915/i915_reg.h#n4017
--
Damien
More information about the Intel-gfx
mailing list