History

drm/framebuffer: Format modifier for Intel Gen-12 render compression

Gen-12 has a new compression format, add a new modifier to indicate that.

Dhinakaran Pandiyan committed 6 years ago

Commit 55656501 parent e7af9091 file · +11 −0Browse files

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

Unified · Split

include/uapi/drm/drm_fourcc.h+11−0
@@ -410,6 +410,17 @@ extern "C" { · 409 unmodified lines
410410 #define I915_FORMAT_MOD_Y_TILED_CCS fourcc_mod_code(INTEL, 4)
411411 #define I915_FORMAT_MOD_Yf_TILED_CCS fourcc_mod_code(INTEL, 5)
412412
413+/*
414+ * Intel color control surfaces (CCS) for Gen-12 render compression.
415+ *
416+ * The main surface is Y-tiled and at plane index 0, the CCS is linear and
417+ * at index 1. A 64B CCS cache line corresponds to an area of 4x1 tiles in
418+ * main surface. In other words, 4 bits in CCS map to a main surface cache
419+ * line pair. The main surface pitch is required to be a multiple of four
420+ * Y-tile widths.
421+ */
422+#define I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS fourcc_mod_code(INTEL, 6)
423+
413424 /*
414425 * Tiled, NV12MT, grouped in 64 (pixels) x 32 (lines) -sized macroblocks
415426 *

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t