drm/amd/pm: Implement GFXOFF's entry count and residency for vangogh
authorAndré Almeida <andrealmeid@igalia.com>
Wed, 10 Aug 2022 23:28:56 +0000 (20:28 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Aug 2022 22:17:31 +0000 (18:17 -0400)
commit1ed5a845c7c87aa79cef2f96e4165c8fad38837f
tree80761711403a46c6c4b3670fd1e35539108642eb
parent0ad7347a64ac4baec1786810709eebedc5f823d5
drm/amd/pm: Implement GFXOFF's entry count and residency for vangogh

Implement functions to get and set GFXOFF's entry count and residency
for vangogh.

Signed-off-by: André Almeida <andrealmeid@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v11_5_ppsmc.h
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c