Skip to content

Commit

Permalink
drm/amd/powerplay: fix bug that function parameter was incorect.
Browse files Browse the repository at this point in the history
Wrong value passed to acpi_pcie_perf_request.

Signed-off-by: Rex Zhu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Ken Wang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
  • Loading branch information
Rex Zhu authored and alexdeucher committed Jun 21, 2016
1 parent 1d7b84d commit 576b440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 576b440

Please sign in to comment.