From: Ville Syrjälä Date: Thu, 24 Jan 2013 13:29:28 +0000 (+0200) Subject: drm/i915: Add display_display_mmio_offset to intel_device_info X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=10fce67a971775cfa906eb176e2772938c2aaaf3;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git drm/i915: Add display_display_mmio_offset to intel_device_info Add an optional offset to intel_device_info, which will added to most display register offsets. Signed-off-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 56ece50910a8..09753e56b6d0 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -337,6 +337,7 @@ struct drm_i915_gt_funcs { DEV_INFO_FLAG(has_llc) struct intel_device_info { + u32 display_mmio_offset; u8 gen; u8 is_mobile:1; u8 is_i85x:1;