From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: <tilak.tangudu@intel.com>, <anusha.srivatsa@intel.com>,
<imre.deak@intel.com>
Cc: jani.nikula@intel.com, chris.p.wilson@intel.com,
saurabhg.gupta@intel.com, intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 4/8] drm/i915: sanitize dc state in rpm resume
Date: Wed, 3 Aug 2022 16:32:55 -0400 [thread overview]
Message-ID: <Yurbd4DMH4bCRifh@intel.com> (raw)
In-Reply-To: <20220721095955.3986943-5-tilak.tangudu@intel.com>
On Thu, Jul 21, 2022 at 03:29:51PM +0530, tilak.tangudu@intel.com wrote:
> From: Tilak Tangudu <tilak.tangudu@intel.com>
>
> During runtime resume the display init sequence is called via
> intel_display_power_resume() -> icl_display_core_init()
> which should restore the display HW state. For restoring the DC9 enabled
> state in DC_STATE_EN, gen9_sanitize_dc_state() should be called on the
> runtime resume path too to avoid the
>
> [ 513.818190] i915 0000:03:00.0: [drm] *ERROR DC state mismatch (0x8 -> 0x0)*
>
> Signed-off-by: Tilak Tangudu <tilak.tangudu@intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_display_power.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display_power.c b/drivers/gpu/drm/i915/display/intel_display_power.c
> index 589af257edeb..799f84d3eed6 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_power.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_power.c
> @@ -2229,6 +2229,7 @@ void intel_display_power_suspend(struct drm_i915_private *i915)
> void intel_display_power_resume(struct drm_i915_private *i915)
> {
> if (DISPLAY_VER(i915) >= 11) {
> + gen9_sanitize_dc_state(i915);
> bxt_disable_dc9(i915);
> icl_display_core_init(i915, true);
> if (intel_dmc_has_payload(i915)) {
> --
> 2.25.1
>
next prev parent reply other threads:[~2022-08-03 20:33 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-21 9:59 [Intel-gfx] [PATCH 0/8] drm/i915: Add D3Cold-Off support for runtime-pm tilak.tangudu
2022-07-21 9:59 ` [Intel-gfx] [PATCH 1/8] drm/i915: Added is_intel_rpm_allowed helper tilak.tangudu
2022-07-24 23:08 ` kernel test robot
2022-08-03 20:31 ` Rodrigo Vivi
2022-08-04 5:32 ` Tangudu, Tilak
2022-08-04 12:30 ` Vivi, Rodrigo
2022-09-28 12:16 ` Tangudu, Tilak
2022-09-28 12:31 ` Tangudu, Tilak
2022-09-28 14:29 ` Vivi, Rodrigo
2022-09-29 5:56 ` Gupta, Anshuman
2022-10-27 16:50 ` Rodrigo Vivi
2022-08-04 6:09 ` Gupta, Anshuman
2022-10-27 16:48 ` Rodrigo Vivi
2022-07-21 9:59 ` [Intel-gfx] [PATCH 2/8] drm/i915: Guard rc6 helpers with is_intel_rpm_allowed tilak.tangudu
2022-07-21 9:59 ` [Intel-gfx] [PATCH 3/8] drm/i915: Extend rpm in intel_guc_global_policies_update tilak.tangudu
2022-07-21 9:59 ` [Intel-gfx] [PATCH 4/8] drm/i915: sanitize dc state in rpm resume tilak.tangudu
2022-08-03 20:32 ` Rodrigo Vivi [this message]
2022-08-04 7:52 ` Tangudu, Tilak
2022-07-21 9:59 ` [Intel-gfx] [PATCH 5/8] Drm/i915/rpm: Add intel_runtime_idle tilak.tangudu
2022-08-03 20:52 ` Rodrigo Vivi
2022-08-04 5:53 ` Gupta, Anshuman
2022-07-21 9:59 ` [Intel-gfx] [PATCH 6/8] drm/i915/rpm: d3cold Policy tilak.tangudu
2022-07-21 11:29 ` Gupta, Anshuman
2022-07-21 11:32 ` Tangudu, Tilak
2022-08-03 20:45 ` Rodrigo Vivi
2022-08-04 1:20 ` Tangudu, Tilak
2022-08-04 6:29 ` Gupta, Anshuman
2022-07-21 9:59 ` [Intel-gfx] [PATCH 7/8] drm/i915: Add i915_save/load_pci_state helpers tilak.tangudu
2022-07-21 9:59 ` [Intel-gfx] [PATCH 8/8] drm/i915 : Add D3COLD OFF support tilak.tangudu
2022-08-04 14:50 ` Imre Deak
2022-08-04 15:29 ` Gupta, Anshuman
2022-07-21 13:10 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Add D3Cold-Off support for runtime-pm (rev3) Patchwork
2022-07-21 13:29 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Yurbd4DMH4bCRifh@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=anusha.srivatsa@intel.com \
--cc=chris.p.wilson@intel.com \
--cc=imre.deak@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=saurabhg.gupta@intel.com \
--cc=tilak.tangudu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.