drm/ttm: Use the BIT macro for the TTM_TT_FLAGs
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Tue, 7 Mar 2023 14:46:17 +0000 (15:46 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 9 Mar 2023 13:18:53 +0000 (14:18 +0100)
commit95f8138d669fd02e304e5e2531f11f4f335dcd22
tree32651934fe3a21be705b8a0b286e2592a39e8cfb
parent66ab57574f2c8233550f641ecdc34fd0ef61341d
drm/ttm: Use the BIT macro for the TTM_TT_FLAGs

New code is recommended to use the BIT macro instead of the explicit
shifts. Change the older defines so that we can keep the style consistent
with upcoming changes.

v2:
- Also change the value of the _PRIV_POPULATED bit (Christian König)

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230307144621.10748-4-thomas.hellstrom@linux.intel.com
include/drm/ttm/ttm_tt.h