Re: Polymorphic to_i915()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 18, 2016 at 02:49:26PM +0300, Jani Nikula wrote:
> On Mon, 18 Apr 2016, Dave Gordon <david.s.gordon@xxxxxxxxx> wrote:
> > The GuC changes are OK, and we might as well convert "dev_priv" to 
> > "i915" at the same time, if that's now the preferred name.
> 
> Hmph, I see that "struct drm_i915_private *i915" is already being used
> in a few places. This is more than a little confusing since "struct
> i915_params i915" in i915_params.c is also the struct we currently use
> to hold the module parameters. Rather annoyingly, there are no warnings
> about the module wide i915 being shadowed.
> 
> I oppose to having both around. Please figure this out before adding a
> single new "struct drm_i915_private *i915".

I did change it name quite some time ago... It's trivial to do.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux