OSDN Git Service

drm/amdgpu: fix invalid use of change_bit
authorChristian König <christian.koenig@amd.com>
Mon, 18 Mar 2019 10:09:54 +0000 (11:09 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 19:01:42 +0000 (14:01 -0500)
commit72464382fc2d3673eb51f21a57f2c0a320c1552f
treef6d4fddb3db197f29301926c3d0f7b52c6d4ff29
parent39bbd3310ec304a7b695240c6791893a88ec9729
drm/amdgpu: fix invalid use of change_bit

We only need to clear the bit in a 32bit integer.

This fixes a crah on ARM64 and PPC64LE caused by
"drm/amdgpu: update the vm invalidation engine layout V2"

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c