diff options
Diffstat (limited to 'src/i915_hwmc.h')
-rw-r--r-- | src/i915_hwmc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i915_hwmc.h b/src/i915_hwmc.h index 7d90afcc..8f6557da 100644 --- a/src/i915_hwmc.h +++ b/src/i915_hwmc.h @@ -29,6 +29,7 @@ #include "i830_hwmc.h" +/* i915 hw requires surface to be at least 1KB aligned */ #define STRIDE(w) (((w) + 0x3ff) & ~0x3ff) #define SIZE_Y420(w, h) (h * STRIDE(w)) #define SIZE_UV420(w, h) ((h >> 1) * STRIDE(w >> 1)) |