aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-08-10 10:32:02 +0000
committerAlex Deucher <[email protected]>2023-08-15 22:08:30 +0000
commit15419813f2ef8b810bf2e11f5b2269acf776cb44 (patch)
treefac170b86051acb03bf6e01efa38fe092a2e4453 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parentdrm/amd: Rename AMDGPU_PP_SENSOR_GPU_POWER (diff)
downloadkernel-15419813f2ef8b810bf2e11f5b2269acf776cb44.tar.gz
kernel-15419813f2ef8b810bf2e11f5b2269acf776cb44.zip
drm/amd: Hide unsupported power attributes
Some ASICS only offer one type of power attribute, so in the visible callback check whether the attributes are supported and hide if not supported. Signed-off-by: Mario Limonciello <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions