Skip to content

Commit

Permalink
drm/radeon/cik: Add tiling mode index for 1D tiled depth/stencil surf…
Browse files Browse the repository at this point in the history
…aces

CIK uses a different index for 1D DST surfaces compared to SI.  Expose
the new index so libdrm_radeon can use it properly for userspace
drivers.

Signed-off-by: Michel Dänzer <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
  • Loading branch information
Michel Dänzer authored and alexdeucher committed Sep 20, 2013
1 parent a537314 commit 42baf21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/uapi/drm/radeon_drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -1007,4 +1007,6 @@ struct drm_radeon_info {
#define SI_TILE_MODE_DEPTH_STENCIL_2D_4AA 3
#define SI_TILE_MODE_DEPTH_STENCIL_2D_8AA 2

#define CIK_TILE_MODE_DEPTH_STENCIL_1D 5

#endif

0 comments on commit 42baf21

Please sign in to comment.