]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/hsw, bdw: Add an ID for the global display power well
authorImre Deak <imre.deak@intel.com>
Tue, 11 Jul 2017 20:42:32 +0000 (23:42 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 27 Jul 2017 07:38:50 +0000 (09:38 +0200)
commitfe411504c57403285288782be9ef2c61c9ea87e8
tree032dc527e33227a6c25ff315ef8596af8e8f06ad
parentd2f2932594c1ae95dc2de09435371d4272f7a7e7
drm/i915/hsw, bdw: Add an ID for the global display power well

Add an ID for the HSW/BDW global display power well for consistency. The
ID is selected so that it can be used to get at the HW request and
status flags with the corresponding GEN9+ macros. Unifying the HSW/BDW
and GEN9+ versions of these macros and the power well ops using them
will be done in follow-up patches.

v2:
- Rebased on v2 of patch 2.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170711204236.5618-3-imre.deak@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_runtime_pm.c