Lines Matching +full:0 +full:x1d80

58 #define OCMD_TILED_SURFACE	(0x1<<19)
59 #define OCMD_MIRROR_MASK (0x3<<17)
60 #define OCMD_MIRROR_MODE (0x3<<17)
61 #define OCMD_MIRROR_HORIZONTAL (0x1<<17)
62 #define OCMD_MIRROR_VERTICAL (0x2<<17)
63 #define OCMD_MIRROR_BOTH (0x3<<17)
64 #define OCMD_BYTEORDER_MASK (0x3<<14) /* zero for YUYV or FOURCC YUY2 */
65 #define OCMD_UV_SWAP (0x1<<14) /* YVYU */
66 #define OCMD_Y_SWAP (0x2<<14) /* UYVY or FOURCC UYVY */
67 #define OCMD_Y_AND_UV_SWAP (0x3<<14) /* VYUY */
68 #define OCMD_SOURCE_FORMAT_MASK (0xf<<10)
69 #define OCMD_RGB_888 (0x1<<10) /* not in i965 Intel docs */
70 #define OCMD_RGB_555 (0x2<<10) /* not in i965 Intel docs */
71 #define OCMD_RGB_565 (0x3<<10) /* not in i965 Intel docs */
72 #define OCMD_YUV_422_PACKED (0x8<<10)
73 #define OCMD_YUV_411_PACKED (0x9<<10) /* not in i965 Intel docs */
74 #define OCMD_YUV_420_PLANAR (0xc<<10)
75 #define OCMD_YUV_422_PLANAR (0xd<<10)
76 #define OCMD_YUV_410_PLANAR (0xe<<10) /* also 411 */
77 #define OCMD_TVSYNCFLIP_PARITY (0x1<<9)
78 #define OCMD_TVSYNCFLIP_ENABLE (0x1<<7)
79 #define OCMD_BUF_TYPE_MASK (0x1<<5)
80 #define OCMD_BUF_TYPE_FRAME (0x0<<5)
81 #define OCMD_BUF_TYPE_FIELD (0x1<<5)
82 #define OCMD_TEST_MODE (0x1<<4)
83 #define OCMD_BUFFER_SELECT (0x3<<2)
84 #define OCMD_BUFFER0 (0x0<<2)
85 #define OCMD_BUFFER1 (0x1<<2)
86 #define OCMD_FIELD_SELECT (0x1<<2)
87 #define OCMD_FIELD0 (0x0<<1)
88 #define OCMD_FIELD1 (0x1<<1)
89 #define OCMD_ENABLE (0x1<<0)
92 #define OCONF_PIPE_MASK (0x1<<18)
93 #define OCONF_PIPE_A (0x0<<18)
94 #define OCONF_PIPE_B (0x1<<18)
95 #define OCONF_GAMMA2_ENABLE (0x1<<16)
96 #define OCONF_CSC_MODE_BT601 (0x0<<5)
97 #define OCONF_CSC_MODE_BT709 (0x1<<5)
98 #define OCONF_CSC_BYPASS (0x1<<4)
99 #define OCONF_CC_OUT_8BIT (0x1<<3)
100 #define OCONF_TEST_MODE (0x1<<2)
101 #define OCONF_THREE_LINE_BUFFER (0x1<<0)
102 #define OCONF_TWO_LINE_BUFFER (0x0<<0)
105 #define DST_KEY_ENABLE (0x1<<31)
106 #define CLK_RGB24_MASK 0x0
107 #define CLK_RGB16_MASK 0x070307
108 #define CLK_RGB15_MASK 0x070707
111 ((((c) & 0x3fc00000) >> 6) | (((c) & 0x000ff000) >> 4) | (((c) & 0x000003fc) >> 2))
113 ((((c) & 0xf800) << 8) | (((c) & 0x07e0) << 5) | (((c) & 0x001f) << 3))
115 ((((c) & 0x7c00) << 9) | (((c) & 0x03e0) << 6) | (((c) & 0x001f) << 3))
117 ((((c) & 0xff) << 16) | (((c) & 0xff) << 8) | (((c) & 0xff) << 0))
120 #define OFC_UPDATE 0x1
159 u32 RESERVED1; /* 0x6C */
172 u32 FASTHSCALE; /* 0xA0 */
173 u32 UVSCALEV; /* 0xA4 */
174 u32 RESERVEDC[(0x200 - 0xA8) / 4]; /* 0xA8 - 0x1FC */
175 u16 Y_VCOEFS[N_VERT_Y_TAPS * N_PHASES]; /* 0x200 */
176 u16 RESERVEDD[0x100 / 2 - N_VERT_Y_TAPS * N_PHASES];
177 u16 Y_HCOEFS[N_HORIZ_Y_TAPS * N_PHASES]; /* 0x300 */
178 u16 RESERVEDE[0x200 / 2 - N_HORIZ_Y_TAPS * N_PHASES];
179 u16 UV_VCOEFS[N_VERT_UV_TAPS * N_PHASES]; /* 0x500 */
180 u16 RESERVEDF[0x100 / 2 - N_VERT_UV_TAPS * N_PHASES];
181 u16 UV_HCOEFS[N_HORIZ_UV_TAPS * N_PHASES]; /* 0x600 */
182 u16 RESERVEDG[0x100 / 2 - N_HORIZ_UV_TAPS * N_PHASES];
216 intel_de_write(display, DSPCLK_GATE_D(display), 0); in i830_overlay_clock_gating()
223 PCI_DEVFN(0, 0), I830_CLOCK_GATE, &val); in i830_overlay_clock_gating()
229 PCI_DEVFN(0, 0), I830_CLOCK_GATE, val); in i830_overlay_clock_gating()
354 return 0; in intel_overlay_continue()
467 return 0; in intel_overlay_release_old_vid()
471 return 0; in intel_overlay_release_old_vid()
500 overlay->old_xscale = 0; in intel_overlay_reset()
501 overlay->old_yscale = 0; in intel_overlay_reset()
565 if (sw == 0) in calc_swidthsw()
566 return 0; in calc_swidthsw()
572 [ 0] = { 0x3000, 0xb4a0, 0x1930, 0x1920, 0xb4a0, },
573 [ 1] = { 0x3000, 0xb500, 0x19d0, 0x1880, 0xb440, },
574 [ 2] = { 0x3000, 0xb540, 0x1a88, 0x2f80, 0xb3e0, },
575 [ 3] = { 0x3000, 0xb580, 0x1b30, 0x2e20, 0xb380, },
576 [ 4] = { 0x3000, 0xb5c0, 0x1bd8, 0x2cc0, 0xb320, },
577 [ 5] = { 0x3020, 0xb5e0, 0x1c60, 0x2b80, 0xb2c0, },
578 [ 6] = { 0x3020, 0xb5e0, 0x1cf8, 0x2a20, 0xb260, },
579 [ 7] = { 0x3020, 0xb5e0, 0x1d80, 0x28e0, 0xb200, },
580 [ 8] = { 0x3020, 0xb5c0, 0x1e08, 0x3f40, 0xb1c0, },
581 [ 9] = { 0x3020, 0xb580, 0x1e78, 0x3ce0, 0xb160, },
582 [10] = { 0x3040, 0xb520, 0x1ed8, 0x3aa0, 0xb120, },
583 [11] = { 0x3040, 0xb4a0, 0x1f30, 0x3880, 0xb0e0, },
584 [12] = { 0x3040, 0xb400, 0x1f78, 0x3680, 0xb0a0, },
585 [13] = { 0x3020, 0xb340, 0x1fb8, 0x34a0, 0xb060, },
586 [14] = { 0x3020, 0xb240, 0x1fe0, 0x32e0, 0xb040, },
587 [15] = { 0x3020, 0xb140, 0x1ff8, 0x3160, 0xb020, },
588 [16] = { 0xb000, 0x3000, 0x0800, 0x3000, 0xb000, },
592 [ 0] = { 0x3000, 0x1800, 0x1800, },
593 [ 1] = { 0xb000, 0x18d0, 0x2e60, },
594 [ 2] = { 0xb000, 0x1990, 0x2ce0, },
595 [ 3] = { 0xb020, 0x1a68, 0x2b40, },
596 [ 4] = { 0xb040, 0x1b20, 0x29e0, },
597 [ 5] = { 0xb060, 0x1bd8, 0x2880, },
598 [ 6] = { 0xb080, 0x1c88, 0x3e60, },
599 [ 7] = { 0xb0a0, 0x1d28, 0x3c00, },
600 [ 8] = { 0xb0c0, 0x1db8, 0x39e0, },
601 [ 9] = { 0xb0e0, 0x1e40, 0x37e0, },
602 [10] = { 0xb100, 0x1eb8, 0x3620, },
603 [11] = { 0xb100, 0x1f18, 0x34a0, },
604 [12] = { 0xb100, 0x1f68, 0x3360, },
605 [13] = { 0xb0e0, 0x1fa8, 0x3240, },
606 [14] = { 0xb0c0, 0x1fe0, 0x3140, },
607 [15] = { 0xb060, 0x1ff0, 0x30a0, },
608 [16] = { 0x3000, 0x0800, 0x3000, },
625 #define FRACT_MASK 0xfff in update_scaling_factors()
649 xscale_UV = 0; in update_scaling_factors()
650 yscale_UV = 0; in update_scaling_factors()
669 ((yscale_UV >> FP_SHIFT) << 0)), in update_scaling_factors()
684 u32 format = 0; in update_colorkey()
685 u32 flags = 0; in update_colorkey()
775 vma = i915_gem_object_pin_to_display_plane(new_bo, &ww, 0, in intel_overlay_pin_fb()
808 if (ret != 0) in intel_overlay_do_put_image()
824 u32 oconfig = 0; in intel_overlay_do_put_image()
833 oconfig |= pipe == 0 ? in intel_overlay_do_put_image()
838 if (ret != 0) in intel_overlay_do_put_image()
894 return 0; in intel_overlay_do_put_image()
913 if (ret != 0) in intel_overlay_switch_off()
917 return 0; in intel_overlay_switch_off()
920 if (ret != 0) in intel_overlay_switch_off()
923 iowrite32(0, &overlay->regs->OCMD); in intel_overlay_switch_off()
938 return 0; in check_overlay_possible_on_crtc()
986 return 0; in check_overlay_dst()
1002 return 0; in check_overlay_scaling()
1042 if (depth < 0) in check_overlay_src()
1046 rec->stride_UV = 0; in check_overlay_src()
1047 rec->offset_U = 0; in check_overlay_src()
1048 rec->offset_V = 0; in check_overlay_src()
1055 if (uv_vscale < 0 || uv_hscale < 0) in check_overlay_src()
1113 return 0; in check_overlay_src()
1160 if (ret != 0) in intel_overlay_put_image_ioctl()
1165 if (ret != 0) in intel_overlay_put_image_ioctl()
1169 if (ret != 0) in intel_overlay_put_image_ioctl()
1185 if (ret != 0) in intel_overlay_put_image_ioctl()
1203 if (ret != 0) in intel_overlay_put_image_ioctl()
1208 if (ret != 0) in intel_overlay_put_image_ioctl()
1212 if (ret != 0) in intel_overlay_put_image_ioctl()
1218 return 0; in intel_overlay_put_image_ioctl()
1230 iowrite32((overlay->contrast << 18) | (overlay->brightness & 0xff), in update_reg_attrs()
1239 if (gamma1 & 0xff000000 || gamma2 & 0xff000000) in check_gamma_bounds()
1242 for (i = 0; i < 3; i++) { in check_gamma_bounds()
1243 if (((gamma1 >> i*8) & 0xff) >= ((gamma2 >> i*8) & 0xff)) in check_gamma_bounds()
1254 for (i = 0; i < 3; i++) { in check_gamma5_errata()
1255 if (((gamma5 >> i*8) & 0xff) == 0x80) in check_gamma5_errata()
1264 if (!check_gamma_bounds(0, attrs->gamma0) || in check_gamma()
1270 !check_gamma_bounds(attrs->gamma5, 0x00ffffff)) in check_gamma()
1276 return 0; in check_gamma()
1346 overlay->color_key_enabled = (attrs->flags & I915_OVERLAY_DISABLE_DEST_COLORKEY) == 0; in intel_overlay_attrs_ioctl()
1348 ret = 0; in intel_overlay_attrs_ioctl()
1370 vma = i915_gem_object_ggtt_pin(obj, NULL, 0, 0, PIN_MAPPABLE); in get_registers()
1389 return 0; in get_registers()
1416 overlay->color_key = 0x0101fe; in intel_overlay_setup()
1423 NULL, intel_overlay_last_flip_retire, 0); in intel_overlay_setup()
1429 memset_io(overlay->regs, 0, sizeof(struct overlay_registers)); in intel_overlay_setup()
1505 drm_printf(p, "Overlay, status: 0x%08x, interrupt: 0x%08x\n", in intel_overlay_snapshot_print()
1507 drm_printf(p, " Register file at 0x%08lx:\n", error->base); in intel_overlay_snapshot_print()
1509 #define P(x) drm_printf(p, " " #x ": 0x%08x\n", error->regs.x) in intel_overlay_snapshot_print()