On Thu, Jun 05, 2014 at 02:28:17PM -0700, Rodrigo Vivi wrote: > Adding missing Display mmio reg offset. > > Credits-to: Laws, Philip <philip.l...@intel.com> > Cc: He, Shuang <shuang...@intel.com> > Signed-off-by: Rodrigo Vivi <rodrigo.v...@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrj...@linux.intel.com> > --- > drivers/gpu/drm/i915/i915_reg.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h > index 286f05c..05e2541 100644 > --- a/drivers/gpu/drm/i915/i915_reg.h > +++ b/drivers/gpu/drm/i915/i915_reg.h > @@ -2627,7 +2627,7 @@ enum punit_power_well { > > #define PORT_DFT_I9XX 0x61150 > #define DC_BALANCE_RESET (1 << 25) > -#define PORT_DFT2_G4X 0x61154 > +#define PORT_DFT2_G4X (dev_priv->info.display_mmio_offset + > 0x61154) > #define DC_BALANCE_RESET_VLV (1 << 31) > #define PIPE_SCRAMBLE_RESET_MASK (0x3 << 0) > #define PIPE_B_SCRAMBLE_RESET (1 << 1) > -- > 1.9.3 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Ville Syrjälä Intel OTC _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx