diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2016-06-13 05:39:19 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-06-21 10:22:37 -0400 |
commit | 576b4401b1971fe40be4cfd379430a61cd8426b2 (patch) | |
tree | 7630ed7623a3e237eab30f97bf4e15aa0e8c107b | |
parent | 1d7b84d12af8312b52316029f1fa0fa4eac3c9e4 (diff) |
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
-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) | |||
77 | ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST, | 77 | ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST, |
78 | &atcs_input, | 78 | &atcs_input, |
79 | &atcs_output, | 79 | &atcs_output, |
80 | 0, | 80 | 1, |
81 | sizeof(atcs_input), | 81 | sizeof(atcs_input), |
82 | sizeof(atcs_output)); | 82 | sizeof(atcs_output)); |
83 | if (result != 0) | 83 | if (result != 0) |