drm/xe/display: Separate the d3cold and non-d3cold runtime PM handling
authorImre Deak <imre.deak@intel.com>
Wed, 9 Oct 2024 19:43:57 +0000 (22:43 +0300)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 29 Oct 2024 14:12:56 +0000 (07:12 -0700)
commitdcb6c1d071712186c213c26b245779f7859b9cec
treec7f105a0b7d40d9dc8387dbac222d2be81059051
parent25f2ff53838ccbd5ce558b5d23fac8a5d7f86655
drm/xe/display: Separate the d3cold and non-d3cold runtime PM handling

For clarity separate the d3cold and non-d3cold runtime PM handling. The
only change in behavior is disabling polling later during runtime
resume. This shouldn't make a difference, since the poll disabling is
handled from a work, which could run at any point wrt. the runtime
resume handler. The work will also require a runtime PM reference,
syncing it with the resume handler.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241009194358.1321200-4-imre.deak@intel.com
(cherry picked from commit a4de6beb83fc5adee788518350247c629568901e)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/display/xe_display.c