]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit53db53c9f814faec33641818dcb384aa9ef1c55c
tree66a8c2a23ad313a76012d161e3aa011709d34ce7
parent434f88025270ffe6ced723b45bfb47c2ac5a6c5f
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