drm/i915/skl: Added new macros
authorAkash Goel <akash.goel@intel.com>
Fri, 6 Mar 2015 05:37:14 +0000 (11:07 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Mar 2015 21:30:22 +0000 (22:30 +0100)
commitde43ae9dd263d50addd2c76b507dc0d1f1c5a1b3
treef08701a92ff0ebfe0c270b1360d17bd7a02e6bf8
parent44e5e28bf64fcd7c4d3f933cb4c7f69d8aa11781
drm/i915/skl: Added new macros

For SKL, register definition for RPNSWREQ (A008), RPSTAT1(A01C)
have changed slightly. Also on SKL, frequency is specified in
units of 16.66 MHZ, compared to 50 MHZ for most of the earlier
platforms and the time values are expressed in units of 1.33 us,
compared to 1.28 us for earlier platforms.
Added new macros for the aforementioned changes.

v2: Renamed the GT_FREQ_FROM_PERIOD macro to GT_INTERVAL_FROM_US (Damien)

v3: Removed the implicit use of dev_priv in GT_INTERVAL_FROM_US macro (Chris)

Signed-off-by: Akash Goel <akash.goel@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h
This page took 0.026614 seconds and 5 git commands to generate.