On Wed, Nov 04, 2015 at 11:19:50PM +0200, ville.syrjala@xxxxxxxxxxxxxxx wrote: > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > Currently we determine the location of the AUX registers in a confusing > way. First we assume the PCH registers are used always, but then we > override it for everything but HSW/BDW to use DP+0x10. Very confusing. > > Let's just make it straightforward and simply add a few functions to > pick the right AUX_CTL based on the DP port. > > To deal with VLV/CHV we'll include the display_mmio_offset into the > AUX register defines. > > Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Took some time to be happy that is was just code motion, Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> -Chris -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx