History

drm/amdgpu: remove AMD_FMT_MOD_GFX12_DCC_MAX_COMPRESSED_BLOCK_* definitions

They were added accidentally.

Marek Olšák committed 2 years ago

Commit 8d9ffd11 parent 30fb9ca1 file · +0 −3Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/drm/drm_fourcc.h+0−3
@@ -1540,9 +1540,6 @@ drm_fourcc_canonicalize_nvidia_format_mod(__u64 modifier) · 1539 unmodified lines
1540#define AMD_FMT_MOD_DCC_MAX_COMPRESSED_BLOCK_SHIFT 181540#define AMD_FMT_MOD_DCC_MAX_COMPRESSED_BLOCK_SHIFT 18
1541#define AMD_FMT_MOD_DCC_MAX_COMPRESSED_BLOCK_MASK 0x31541#define AMD_FMT_MOD_DCC_MAX_COMPRESSED_BLOCK_MASK 0x3
1542 1542
1543#define AMD_FMT_MOD_GFX12_DCC_MAX_COMPRESSED_BLOCK_SHIFT 3
1544#define AMD_FMT_MOD_GFX12_DCC_MAX_COMPRESSED_BLOCK_MASK 0x3 /* 0:64B, 1:128B, 2:256B */
1545
1546/*1543/*
1547 * DCC supports embedding some clear colors directly in the DCC surface.1544 * DCC supports embedding some clear colors directly in the DCC surface.
1548 * However, on older GPUs the rendering HW ignores the embedded clear color1545 * However, on older GPUs the rendering HW ignores the embedded clear color