[Intel-gfx] [PATCH] drm/i915: shut up compiler for unused VLV function

Ben Widawsky ben at bwidawsk.net
Sat Apr 7 22:59:53 CEST 2012


On Sat, 07 Apr 2012 13:49:20 -0700
Jesse Barnes <jbarnes at virtuousgeek.org> wrote:

> Ben Widawsky <ben at bwidawsk.net> wrote:
> 
> >CC: Jesse Barnes <jbarnes at virtuousgeek.org>
> >Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
> >---
> > drivers/gpu/drm/i915/intel_display.c |    4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> >diff --git a/drivers/gpu/drm/i915/intel_display.c
> >b/drivers/gpu/drm/i915/intel_display.c
> >index 3abebb5..30bcc61 100644
> >--- a/drivers/gpu/drm/i915/intel_display.c
> >+++ b/drivers/gpu/drm/i915/intel_display.c
> >@@ -386,8 +386,8 @@ out_unlock:
> > 	return val;
> > }
> > 
> >-static void intel_dpio_write(struct drm_i915_private *dev_priv, int
> >reg,
> >-			     u32 val)
> >+static void __used intel_dpio_write(struct drm_i915_private
> >*dev_priv, int reg,
> >+				    u32 val)
> > {
> > 	unsigned long flags;
> > 
> >-- 
> >1.7.10
> 
> I thought Daniel pushed the code that used this... maybe only in
> queued? 

Nothing has been pushed. There is code used for the read function...



More information about the Intel-gfx mailing list