On 05/10/2016 18:16, Ville Syrjälä wrote:
On Wed, Oct 05, 2016 at 01:33:31PM +0100, Tvrtko Ursulin wrote:
From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
This saves 3248 bytes of .rodata strings.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>
---
drivers/gpu/drm/i915/i915_drv.h | 8 +++---
drivers/gpu/drm/i915/intel_crt.c | 10 +++----
drivers/gpu/drm/i915/intel_display.c | 49 ++++++++++++++++++-----------------
drivers/gpu/drm/i915/intel_dp.c | 16 ++++++------
drivers/gpu/drm/i915/intel_dpll_mgr.c | 4 +--
drivers/gpu/drm/i915/intel_hdmi.c | 10 +++----
drivers/gpu/drm/i915/intel_pm.c | 4 +--
drivers/gpu/drm/i915/intel_psr.c | 8 +++---
8 files changed, 56 insertions(+), 53 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 4613f031d127..61e0cf7374ed 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -2817,7 +2817,7 @@ struct drm_i915_cmd_table {
#define HAS_DP_MST(dev) (INTEL_INFO(dev)->has_dp_mst)
-#define HAS_DDI(dev) (INTEL_INFO(dev)->has_ddi)
+#define HAS_DDI(dev_priv) (dev_priv->info.has_ddi)
((dev_priv)->...)
Yes I've also spotted that myself. Will fix them all locally but won't
be sending them out until/if there is some consensus.
Regards,
Tvrtko
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx