drm/amd/powerplay: add hardware manager sub-component

2016-01-04 Thread Dan Carpenter
Hi Jammy Zhou, The powerplay patches introduce a lot of Smatch static checker warnings. I started to fix them but there are quite a few so I decided to just pass them back to you instead. They're mostly about small mistakes with indenting or return -1 instead of -ENOMEM. There are a ball of plac

[PATCH 11/51] drm/amd/powerplay: add hardware manager sub-component

2015-11-12 Thread Alex Deucher
From: Jammy Zhou The hwmgr handles all hardware related calls, including clock/power gating control, DPM, read and parse PPTable, etc. v5: squash in fixes v4: implement acpi's atcs function use cgs interface v3: fix code style error and add big-endian mode support. v2: use cgs interface directly