drm/amdgpu: Add option to refresh NPS data
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 18 Sep 2024 10:27:08 +0000 (15:57 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 1 Oct 2024 21:40:07 +0000 (17:40 -0400)
commitfcd91a95df7ff5965d8b0532b8799eaf3e58633d
treea18b158424016d07c9d40047b74e8e3801e90362
parent5682cd86d6f706f97d40385fafdc9578886e54bf
drm/amdgpu: Add option to refresh NPS data

In certain use cases, NPS data needs to be refreshed again from
discovery table. Add API parameter to refresh NPS data from discovery
table.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.h
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c