diff options
author | Imre Deak <imre.deak@intel.com> | 2017-07-11 23:42:31 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-07-27 09:38:50 +0200 |
commit | 120b56a2a7a262c0940299615c7bcf97d3982711 (patch) | |
tree | 19370a9b7e79f925f4da925c2d785caa84cc43dd /drivers/gpu/drm/i915/i915_reg.h | |
parent | 029d80d0fc676c4747502f6854d7c71ea8fa32bf (diff) | |
download | linux-120b56a2a7a262c0940299615c7bcf97d3982711.tar.gz linux-120b56a2a7a262c0940299615c7bcf97d3982711.tar.bz2 linux-120b56a2a7a262c0940299615c7bcf97d3982711.zip |
drm/i915/gen2: Add an ID for the display pipes power well
Make the I830 power well ID assignment explicit for consistency.
v2:
- s/GEN2/I830/ in the comment, since other GEN2s don't have the power
well. (Ville)
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
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-2-imre.deak@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index aee40eecf688..ef0c1a86a52f 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -1073,6 +1073,12 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg) */ enum i915_power_well_id { /* + * I830 + * - custom power well + */ + I830_DISP_PW_PIPES = 0, + + /* * VLV/CHV * - PUNIT_REG_PWRGT_CTRL (bit: id*2), * PUNIT_REG_PWRGT_STATUS (bit: id*2) (PUNIT HAS v0.8) |