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)
commit16c642ec3fe9a144fbe1e97dc56f13a6308f1381
tree6d5198b32cbeeac3bbd926b7876add4f96bc6d9f
parentbf1102877751175fe6c1d68734d3c57d4af65df9
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