drm/i915: Vanish some unused 3d commands
Subsystems (2)
PATCH 1/1 drm/i915: Vanish some unused 3d commands
i915_reg.h is messy enough without the extra stuff.
Signed-off-by Ben Widawsky <[email protected]>
--- drivers/gpu/drm/i915/i915_reg.h | 21 --------------------- 1 file changed, 21 deletions(-)
drivers/gpu/drm/i915/i915_reg.h +0 -21
@@ -275,29 +275,10 @@*/ #define GFX_INSTR (opcode, flags) ((0x3 << 29) | ((opcode) << 24) | (flags)) -#define GFX_OP_RASTER_RULES ((0x3<<29)|(0x7<<24)) -#define GFX_OP_SCISSOR ((0x3<<29)|(0x1c<<24)|(0x10<<19)) -#define SC_UPDATE_SCISSOR (0x1<<1) -#define SC_ENABLE_MASK (0x1<<0) -#define SC_ENABLE (0x1<<0) -#define GFX_OP_LOAD_INDIRECT ((0x3<<29)|(0x1d<<24)|(0x7<<16)) -#define GFX_OP_SCISSOR_INFO ((0x3<<29)|(0x1d<<24)|(0x81<<16)|(0x1)) -#define SCI_YMIN_MASK (0xffff<<16) -#define SCI_XMIN_MASK (0xffff<<0) -#define SCI_YMAX_MASK (0xffff<<16) -#define SCI_XMAX_MASK (0xffff<<0) -#define GFX_OP_SCISSOR_ENABLE ((0x3<<29)|(0x1c<<24)|(0x10<<19)) -#define GFX_OP_SCISSOR_RECT ((0x3<<29)|(0x1d<<24)|(0x81<<16)|1) -#define GFX_OP_COLOR_FACTOR ((0x3<<29)|(0x1d<<24)|(0x1<<16)|0x0) -#define GFX_OP_STIPPLE ((0x3<<29)|(0x1d<<24)|(0x83<<16)) -#define GFX_OP_MAP_INFO ((0x3<<29)|(0x1d<<24)|0x4)#define GFX_OP_DESTBUFFER_VARS ((0x3<<29)|(0x1d<<24)|(0x85<<16)|0x0) -#define GFX_OP_DESTBUFFER_INFO ((0x3<<29)|(0x1d<<24)|(0x8e<<16)|1)#define GFX_OP_DRAWRECT_INFO ((0x3<<29)|(0x1d<<24)|(0x80<<16)|(0x3))#define GFX_OP_DRAWRECT_INFO_I965 ((0x7900<<16)|0x2) -#define SRC_COPY_BLT_CMD ((2<<29)|(0x43<<22)|4)#define XY_SRC_COPY_BLT_CMD ((2<<29)|(0x53<<22)|6) -#define XY_MONO_SRC_COPY_IMM_BLT ((2<<29)|(0x71<<22)|5)#define XY_SRC_COPY_BLT_WRITE_ALPHA (1<<21)#define XY_SRC_COPY_BLT_WRITE_RGB (1<<20)#define BLT_DEPTH_8 (0<<24)
@@ -305,8 +286,6 @@#define BLT_DEPTH_16_1555 (2<<24)#define BLT_DEPTH_32 (3<<24)#define BLT_ROP_GXCOPY (0xcc<<16) -#define XY_SRC_COPY_BLT_SRC_TILED (1<<15)/* 965+ only */ -#define XY_SRC_COPY_BLT_DST_TILED (1<<11)/* 965+ only */ #define CMD_OP_DISPLAYBUFFER_INFO ((0x0<<29)|(0x14<<23)|2)#define ASYNC_FLIP (1<<22)#define DISPLAY_PLANE_A (0<<20)
Signature · 1 line
1.8.1.3
Quoted 3 lines · Ben Widawsky
i915_reg.his messy enough without the extra stuff.Signed-off-by Ben Widawsky <[email protected]>
Would be nice if we could just discard the rest. Since we can't (damn you GEM/DRI1) can we just move them to i915_cmd.h?
I would also keep the BLT commands, but since no one else cares to kill off intelfb entirely, I can always reinstate them on that fateful day.
-Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre