diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2016-06-13 11:39:19 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-06-21 16:22:37 +0200 |
commit | 576b4401b1971fe40be4cfd379430a61cd8426b2 (patch) | |
tree | 7630ed7623a3e237eab30f97bf4e15aa0e8c107b /drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c | |
parent | drm/amd/powerplay: fix logic error. (diff) | |
download | linux-576b4401b1971fe40be4cfd379430a61cd8426b2.tar.xz linux-576b4401b1971fe40be4cfd379430a61cd8426b2.zip |
drm/amd/powerplay: fix bug that function parameter was incorect.
Wrong value passed to acpi_pcie_perf_request.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Ken Wang <Qingqing.Wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c index 58742e0d1492..d19a9b624242 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c @@ -77,7 +77,7 @@ int acpi_pcie_perf_request(void *device, uint8_t perf_req, bool advertise) ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST, &atcs_input, &atcs_output, - 0, + 1, sizeof(atcs_input), sizeof(atcs_output)); if (result != 0) |