From: Ville Syrjälä Date: Thu, 24 Jan 2013 13:29:29 +0000 (+0200) Subject: drm/i915: AUD_VID_DID needs an offset on VLV X-Git-Tag: firefly_0821_release~3680^2~1036^2~36^2~54 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f4ba9f81715ed0ba000750bf8586d097077ce910;p=firefly-linux-kernel-4.4.55.git drm/i915: AUD_VID_DID needs an offset on VLV Signed-off-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 2521617b55da..7dd7adba5beb 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -4298,7 +4298,7 @@ #define GEN7_ROW_CHICKEN2_GT2 0xf4f4 #define DOP_CLOCK_GATING_DISABLE (1<<0) -#define G4X_AUD_VID_DID 0x62020 +#define G4X_AUD_VID_DID (dev_priv->info->display_mmio_offset + 0x62020) #define INTEL_AUDIO_DEVCL 0x808629FB #define INTEL_AUDIO_DEVBLC 0x80862801 #define INTEL_AUDIO_DEVCTG 0x80862802