]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: new ids flag for tmz (v2)
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 30 Jul 2020 13:54:59 +0000 (15:54 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Aug 2020 19:45:52 +0000 (15:45 -0400)
commit5f1b9abe3adc409f1175148e5215f3a692a0a1ba
tree6d5198b32cbeeac3bbd926b7876add4f96bc6d9f
parentcc56ade5f313788ef39746da91179c94e4ed7111
drm/amdgpu: new ids flag for tmz (v2)

Allows UMD to know if TMZ is supported and enabled.

This commit also bumps KMS_DRIVER_MINOR because if we don't
UMD can't tell if "ids_flags & AMDGPU_IDS_FLAGS_TMZ == 0" means
"tmz is not enabled" or "tmz may be enabled but the kernel doesn't
report it".

v2: use amdgpu_is_tmz() and reworded commit message.

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
include/uapi/drm/amdgpu_drm.h