Re: [PATCH 35/43] drm/i915: Move __raw_i915_read8() & co. into i915_drv.h

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

 



On Fri, Sep 18, 2015 at 08:03:48PM +0300, ville.syrjala@xxxxxxxxxxxxxxx wrote:
> From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> 
> We have a few users of the raw register acces functions outside
> intel_uncore.c, so let's just move the functions into intel_drv.h.

I would rather see those external users converted to
I915_READ_FW/I915_WRITE_FW etc. You will then, no doubt, want to convert
those _FW macro definitions over to the uncore set.

Also due to how we write and post our accesses, the raw functions can be
the _relaxed variants.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://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