Commit b506fd68 authored by Rex Zhu's avatar Rex Zhu Committed by Greg Kroah-Hartman

drm/amd/powerplay: fix bug that function parameter was incorect.

commit 576b4401 upstream.

Wrong value passed to acpi_pcie_perf_request.
Signed-off-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarKen Wang <Qingqing.Wang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1cfbbfd0
...@@ -54,7 +54,7 @@ int acpi_pcie_perf_request(void *device, uint8_t perf_req, bool advertise) ...@@ -54,7 +54,7 @@ int acpi_pcie_perf_request(void *device, uint8_t perf_req, bool advertise)
ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST, ATCS_FUNCTION_PCIE_PERFORMANCE_REQUEST,
&atcs_input, &atcs_input,
&atcs_output, &atcs_output,
0, 1,
sizeof(atcs_input), sizeof(atcs_input),
sizeof(atcs_output)); sizeof(atcs_output));
if (result != 0) if (result != 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment