]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
Merge branch 'x86-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_pm.c
index 632b186700989f33d0de872aedce7512631ea075..361975cf45a9ffdd61635e0f8eb93f944b52f66b 100644 (file)
@@ -1154,7 +1154,7 @@ static umode_t hwmon_attributes_visible(struct kobject *kobj,
        umode_t effective_mode = attr->mode;
 
        /* handle non-powerplay limitations */
-       if (!adev->powerplay.cgs_device) {
+       if (!adev->powerplay.pp_handle) {
                /* Skip fan attributes if fan is not present */
                if (adev->pm.no_fan &&
                    (attr == &sensor_dev_attr_pwm1.dev_attr.attr ||
This page took 0.037178 seconds and 4 git commands to generate.