forked from Minki/linux
drm/i915/dsc: Add a power domain for VDSC on eDP/MIPI DSI
On Icelake, a separate power well PG2 is created for VDSC engine used for eDP/MIPI DSI. This patch adds a new display power domain for Power well 2. v3: * Call it POWER_DOMAIN_TRANSCODER_EDP_VDSC (Ville) * Move it around TRANSCODER power domain defs (Ville) v2: * Fix the power well mismatch CI error (Ville) * Rename as VDSC_PIPE_A (Imre) * Fix a whitespace (Anusha) * Fix Comments (Imre) Cc: Ville Syrjala <ville.syrjala@linux.intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Imre Deak <imre.deak@intel.com> Signed-off-by: Manasi Navare <manasi.d.navare@intel.com> Reviewed-by: Ville Syrjala <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181128202628.20238-7-manasi.d.navare@intel.com
This commit is contained in:
parent
2279298dbf
commit
91ba2c8be4
@ -242,6 +242,7 @@ enum intel_display_power_domain {
|
||||
POWER_DOMAIN_TRANSCODER_B,
|
||||
POWER_DOMAIN_TRANSCODER_C,
|
||||
POWER_DOMAIN_TRANSCODER_EDP,
|
||||
POWER_DOMAIN_TRANSCODER_EDP_VDSC,
|
||||
POWER_DOMAIN_TRANSCODER_DSI_A,
|
||||
POWER_DOMAIN_TRANSCODER_DSI_C,
|
||||
POWER_DOMAIN_PORT_DDI_A_LANES,
|
||||
|
@ -76,6 +76,8 @@ intel_display_power_domain_str(enum intel_display_power_domain domain)
|
||||
return "TRANSCODER_C";
|
||||
case POWER_DOMAIN_TRANSCODER_EDP:
|
||||
return "TRANSCODER_EDP";
|
||||
case POWER_DOMAIN_TRANSCODER_EDP_VDSC:
|
||||
return "TRANSCODER_EDP_VDSC";
|
||||
case POWER_DOMAIN_TRANSCODER_DSI_A:
|
||||
return "TRANSCODER_DSI_A";
|
||||
case POWER_DOMAIN_TRANSCODER_DSI_C:
|
||||
@ -2028,9 +2030,9 @@ void intel_display_power_put(struct drm_i915_private *dev_priv,
|
||||
*/
|
||||
#define ICL_PW_2_POWER_DOMAINS ( \
|
||||
ICL_PW_3_POWER_DOMAINS | \
|
||||
BIT_ULL(POWER_DOMAIN_TRANSCODER_EDP_VDSC) | \
|
||||
BIT_ULL(POWER_DOMAIN_INIT))
|
||||
/*
|
||||
* - eDP/DSI VDSC
|
||||
* - KVMR (HW control)
|
||||
*/
|
||||
#define ICL_DISPLAY_DC_OFF_POWER_DOMAINS ( \
|
||||
|
Loading…
Reference in New Issue
Block a user