drm/amdgpu: Fix BUG_ON assert
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 22 Jun 2021 16:23:38 +0000 (12:23 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Sep 2021 11:40:37 +0000 (13:40 +0200)
commit7b1abace16a9dff6804d4eb94750beb60d9502b4
treeabae9f34d3dd218d956f03c63b5fa02d9bfdbdbd
parentc29485e34e63198dca6289639aa711f99d88e76e
drm/amdgpu: Fix BUG_ON assert

commit ea7acd7c5967542353430947f3faf699e70602e5 upstream.

With added CPU domain to placement you can have
now 3 placemnts at once.

CC: stable@kernel.org
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210622162339.761651-5-andrey.grodzovsky@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c