drm/amdgpu/gfx9: rework lbpw enable code
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 8 Nov 2018 21:34:48 +0000 (16:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Nov 2018 21:29:54 +0000 (16:29 -0500)
commit688be01a0ab7eeefb1cccf3ad1c59803276b5a12
tree78c81a5d6f983b18d3357a2069b4302103c61e91
parentc10caceddca2236ada8359603767ba629e6f19ba
drm/amdgpu/gfx9: rework lbpw enable code

To avoid changing the global lbpw module parameter directly.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c