drm/amdgpu: fix the wrong logic checking when secure buffer is created (v3)
authorHuang Rui <ray.huang@amd.com>
Tue, 18 Feb 2020 05:07:42 +0000 (13:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2020 20:20:29 +0000 (16:20 -0400)
commit11b407a781f42d8513da64499f24fafdfd32426f
tree66a8c2a23ad313a76012d161e3aa011709d34ce7
parent0bb5d5b03f78aeb5f87d47877eb15532875c64da
drm/amdgpu: fix the wrong logic checking when secure buffer is created (v3)

While the current amdgpu doesn't support TMZ, it will return the error if user
mode would like to allocate secure buffer.

v2: we didn't need this checking anymore.
v3: only print message once time.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Nirmoy Das <Nirmoy.Das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c