drm/amdgpu/userq: move runpm handling into core userq code
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Apr 2025 19:49:51 +0000 (15:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Apr 2025 14:52:49 +0000 (10:52 -0400)
commit987718c5598a3044ecca1b6f774900df12927ed5
treedecdbb6886170243f8b3c7f71641a7e86630185d
parent9315860d05aa2604045a5d8f874cf1d36a70da89
drm/amdgpu/userq: move runpm handling into core userq code

Pull it out of the MES code and into the generic code.
It's not MES specific and needs to be applied to all user
queues regardless of the backend.

Reviewed-by: Sunil Khatri <sunil.khatri@amd.com>
Reviewed-by: Shaoyun.liu <Shaoyun.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c