Lines Matching refs:pI830
157 I830Ptr pI830 = I830PTR(pScrn);
179 I830Ptr pI830 = I830PTR(scrn);
233 I830Ptr pI830 = I830PTR(scrn);
370 I830Ptr pI830 = I830PTR(scrn);
375 if (intel_alloc_and_map(pI830, "textured video surface state", 4096,
381 if (pI830->cpp == 2) {
422 I830Ptr pI830 = I830PTR(scrn);
426 if (intel_alloc_and_map(pI830, "textured video surface state", 4096,
466 I830Ptr pI830 = I830PTR(scrn);
473 if (intel_alloc_and_map(pI830, "textured video binding table", 4096,
489 I830Ptr pI830 = I830PTR(scrn);
493 if (intel_alloc_and_map(pI830, "textured video sampler state", 4096,
510 I830Ptr pI830 = I830PTR(scrn);
514 if (intel_alloc_and_map(pI830, "textured video vs state", 4096,
519 if (IS_IGDNG(pI830))
535 I830Ptr pI830 = I830PTR(scrn);
538 prog_bo = drm_intel_bo_alloc(pI830->bufmgr, "textured video program",
551 I830Ptr pI830 = I830PTR(scrn);
555 if (IS_IGDNG(pI830))
565 if (intel_alloc_and_map(pI830, "textured video sf state", 4096,
614 I830Ptr pI830 = I830PTR(scrn);
619 if (IS_IGDNG(pI830))
626 if (IS_IGDNG(pI830))
636 if (intel_alloc_and_map(pI830, "textured video wm state", sizeof (*wm_state),
656 if (IS_IGDNG(pI830))
674 if (IS_IGDNG(pI830))
693 I830Ptr pI830 = I830PTR(scrn);
697 if (intel_alloc_and_map(pI830, "textured video cc viewport", 4096,
711 I830Ptr pI830 = I830PTR(scrn);
719 if (intel_alloc_and_map(pI830, "textured video cc state", sizeof(*cc_state),
753 I830Ptr pI830 = I830PTR(pScrn);
762 pI830->last_3d = LAST_3D_VIDEO;
783 if (IS_IGDNG(pI830))
788 if (IS_G4X(pI830) || IS_IGDNG(pI830))
801 if (IS_IGDNG(pI830)) {
827 OUT_RELOC(pI830->video.gen4_sip_kernel_bo,
835 if (IS_IGDNG(pI830))
882 OUT_RELOC(pI830->video.gen4_vs_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 0);
887 OUT_RELOC(pI830->video.gen4_sf_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 0);
889 OUT_RELOC(pI830->video.gen4_wm_packed_bo,
892 OUT_RELOC(pI830->video.gen4_wm_planar_bo,
894 OUT_RELOC(pI830->video.gen4_cc_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 0);
917 if (IS_IGDNG(pI830)) {
974 I830Ptr pI830 = I830PTR(pScrn);
1084 if (pI830->video.gen4_sampler_bo == NULL)
1085 pI830->video.gen4_sampler_bo = i965_create_sampler_state(pScrn);
1086 if (pI830->video.gen4_sip_kernel_bo == NULL) {
1087 pI830->video.gen4_sip_kernel_bo =
1090 if (!pI830->video.gen4_sip_kernel_bo) {
1096 if (pI830->video.gen4_vs_bo == NULL) {
1097 pI830->video.gen4_vs_bo = i965_create_vs_state(pScrn);
1098 if (!pI830->video.gen4_vs_bo) {
1103 if (pI830->video.gen4_sf_bo == NULL) {
1104 pI830->video.gen4_sf_bo = i965_create_sf_state(pScrn);
1105 if (!pI830->video.gen4_sf_bo) {
1110 if (pI830->video.gen4_wm_packed_bo == NULL) {
1111 pI830->video.gen4_wm_packed_bo =
1112 i965_create_wm_state(pScrn, pI830->video.gen4_sampler_bo, TRUE);
1113 if (!pI830->video.gen4_wm_packed_bo) {
1119 if (pI830->video.gen4_wm_planar_bo == NULL) {
1120 pI830->video.gen4_wm_planar_bo =
1121 i965_create_wm_state(pScrn, pI830->video.gen4_sampler_bo, FALSE);
1122 if (!pI830->video.gen4_wm_planar_bo) {
1128 if (pI830->video.gen4_cc_bo == NULL) {
1129 pI830->video.gen4_cc_bo = i965_create_cc_state(pScrn);
1130 if (!pI830->video.gen4_cc_bo) {
1166 pI830->batch_bo,
1168 pI830->video.gen4_sampler_bo,
1169 pI830->video.gen4_sip_kernel_bo,
1170 pI830->video.gen4_vs_bo,
1171 pI830->video.gen4_sf_bo,
1172 pI830->video.gen4_wm_packed_bo,
1173 pI830->video.gen4_wm_planar_bo,
1174 pI830->video.gen4_cc_bo,
1179 if (intel_alloc_and_map(pI830, "textured video vb", 4096,
1202 if (!IS_IGDNG(pI830))
1225 if (IS_IGDNG(pI830))
1248 if (!IS_IGDNG(pI830))
1264 I830Ptr pI830 = I830PTR(scrn);
1266 drm_intel_bo_unreference(pI830->video.gen4_vs_bo);
1267 pI830->video.gen4_vs_bo = NULL;
1268 drm_intel_bo_unreference(pI830->video.gen4_sf_bo);
1269 pI830->video.gen4_sf_bo = NULL;
1270 drm_intel_bo_unreference(pI830->video.gen4_cc_bo);
1271 pI830->video.gen4_cc_bo = NULL;
1272 drm_intel_bo_unreference(pI830->video.gen4_wm_packed_bo);
1273 pI830->video.gen4_wm_packed_bo = NULL;
1274 drm_intel_bo_unreference(pI830->video.gen4_wm_planar_bo);
1275 pI830->video.gen4_wm_planar_bo = NULL;
1276 drm_intel_bo_unreference(pI830->video.gen4_cc_vp_bo);
1277 pI830->video.gen4_cc_vp_bo = NULL;
1278 drm_intel_bo_unreference(pI830->video.gen4_sampler_bo);
1279 pI830->video.gen4_sampler_bo = NULL;
1280 drm_intel_bo_unreference(pI830->video.gen4_sip_kernel_bo);
1281 pI830->video.gen4_sip_kernel_bo = NULL;