Skip to content

Commit c938628

Browse files
Marek Olšákalexdeucher
authored andcommitted
drm/amdgpu: add tiling flags from Mesa
DCC_INDEPENDENT_128B is needed for displayble DCC on gfx10. SCANOUT is not needed by the kernel, but Mesa uses it. Signed-off-by: Marek Olšák <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 690ae30 commit c938628

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/uapi/drm/amdgpu_drm.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,10 @@ struct drm_amdgpu_gem_userptr {
346346
#define AMDGPU_TILING_DCC_PITCH_MAX_MASK 0x3FFF
347347
#define AMDGPU_TILING_DCC_INDEPENDENT_64B_SHIFT 43
348348
#define AMDGPU_TILING_DCC_INDEPENDENT_64B_MASK 0x1
349+
#define AMDGPU_TILING_DCC_INDEPENDENT_128B_SHIFT 44
350+
#define AMDGPU_TILING_DCC_INDEPENDENT_128B_MASK 0x1
351+
#define AMDGPU_TILING_SCANOUT_SHIFT 63
352+
#define AMDGPU_TILING_SCANOUT_MASK 0x1
349353

350354
/* Set/Get helpers for tiling flags. */
351355
#define AMDGPU_TILING_SET(field, value) \

0 commit comments

Comments
 (0)