Re: [PATCH] drm/amdgpu: new ids flag for tmz (v2)

2020-08-05 Thread Pierre-Eric Pelloux-Prayer
Hi Christian, On 30/07/2020 16:46, Christian König wrote: > Am 30.07.20 um 15:54 schrieb Pierre-Eric Pelloux-Prayer: >> 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 ==

Re: [PATCH] drm/amdgpu: new ids flag for tmz (v2)

2020-07-30 Thread Christian König
Am 30.07.20 um 15:54 schrieb Pierre-Eric Pelloux-Prayer: 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

[PATCH] drm/amdgpu: new ids flag for tmz (v2)

2020-07-30 Thread Pierre-Eric Pelloux-Prayer
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