]> www.infradead.org Git - users/dwmw2/linux.git/commit
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)
committerImre Deak <imre.deak@intel.com>
Fri, 11 Oct 2024 14:00:57 +0000 (17:00 +0300)
commita4de6beb83fc5adee788518350247c629568901e
treebcec7fa65c09d6ce1b9ae9a60dcc1ce236d59f18
parent46bcb0a1214ac6677df8660ac0f6bdf1eff27e8f
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
drivers/gpu/drm/xe/display/xe_display.c