]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add tracking for CDCLK bypass frequency
authorImre Deak <imre.deak@intel.com>
Wed, 17 Jan 2018 17:25:08 +0000 (19:25 +0200)
committerImre Deak <imre.deak@intel.com>
Thu, 18 Jan 2018 14:08:55 +0000 (16:08 +0200)
commit94d05581e5aa3c243dd29e1ecc4ed67c930bf31e
tree6ebdf4ec4e3e6b17119591f10aeb11047e0c6350
parent094ce7dc61bcb81076e03976c230b497d94abc96
drm/i915: Add tracking for CDCLK bypass frequency

The CDCLK bypass frequency can vary on upcoming platforms, so prepare
for that now by tracking its value in the CDCLK state.

Currently on BDW+ the bypass frequency is always the reference clock and
I didn't bother with earlier platforms since it's not all that clear
what's the bypass clock on those.

I also didn't bother adding support for changing this frequency, since
atm I don't see any need for it.

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180117172508.15993-1-imre.deak@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_cdclk.c