drm/xe: Only init runtime PM after all d3cold config is in place.
authorRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 25 Jul 2023 22:11:58 +0000 (18:11 -0400)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:39:16 +0000 (11:39 -0500)
commita32d82b4cfd63a9bc198bd9faa54844b8d04c5d3
treef63a118fab8fdac6c52fa4d91288ded08a0d37c9
parentbba2ec4144f5a7683d9a26cafffca6031361ee66
drm/xe: Only init runtime PM after all d3cold config is in place.

We cannot allow runtime pm suspend after we configured the
d3cold capable and threshold.

Cc: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pm.c