Lines Matching refs:src_obj

69     struct r600_accel_object src_obj, dst_obj;
170 src_obj.offset = 0;
178 src_obj.offset = pPriv->src_offset + info->fbLocation + pScrn->fbOffset;
179 dst_obj.bo = src_obj.bo = NULL;
183 src_obj.pitch = pPriv->src_pitch;
184 src_obj.width = pPriv->w;
185 src_obj.height = pPriv->h;
186 src_obj.bpp = 16;
187 src_obj.domain = RADEON_GEM_DOMAIN_VRAM | RADEON_GEM_DOMAIN_GTT;
188 src_obj.bo = pPriv->src_bo[pPriv->currentBuffer];
189 src_obj.tiling_flags = 0;
191 src_obj.surface = NULL;
200 &src_obj,
263 accel_state->src_size[0] = accel_state->src_obj[0].pitch * pPriv->h;
267 tex_res.w = accel_state->src_obj[0].width;
268 tex_res.h = accel_state->src_obj[0].height;
269 tex_res.pitch = accel_state->src_obj[0].pitch;
272 tex_res.base = accel_state->src_obj[0].offset;
273 tex_res.mip_base = accel_state->src_obj[0].offset;
275 tex_res.bo = accel_state->src_obj[0].bo;
276 tex_res.mip_bo = accel_state->src_obj[0].bo;
293 if (accel_state->src_obj[0].tiling_flags == 0)
295 r600_set_tex_resource(pScrn, accel_state->ib, &tex_res, accel_state->src_obj[0].domain);
314 tex_res.w = accel_state->src_obj[0].width >> 1;
315 tex_res.h = accel_state->src_obj[0].height >> 1;
316 tex_res.pitch = RADEON_ALIGN(accel_state->src_obj[0].pitch >> 1, pPriv->hw_align);
323 tex_res.base = accel_state->src_obj[0].offset + pPriv->planev_offset;
324 tex_res.mip_base = accel_state->src_obj[0].offset + pPriv->planev_offset;
326 if (accel_state->src_obj[0].tiling_flags == 0)
328 r600_set_tex_resource(pScrn, accel_state->ib, &tex_res, accel_state->src_obj[0].domain);
337 tex_res.w = accel_state->src_obj[0].width >> 1;
338 tex_res.h = accel_state->src_obj[0].height >> 1;
339 tex_res.pitch = RADEON_ALIGN(accel_state->src_obj[0].pitch >> 1, pPriv->hw_align);
346 tex_res.base = accel_state->src_obj[0].offset + pPriv->planeu_offset;
347 tex_res.mip_base = accel_state->src_obj[0].offset + pPriv->planeu_offset;
349 if (accel_state->src_obj[0].tiling_flags == 0)
351 r600_set_tex_resource(pScrn, accel_state->ib, &tex_res, accel_state->src_obj[0].domain);
360 accel_state->src_size[0] = accel_state->src_obj[0].pitch * pPriv->h;
364 tex_res.w = accel_state->src_obj[0].width;
365 tex_res.h = accel_state->src_obj[0].height;
366 tex_res.pitch = accel_state->src_obj[0].pitch >> 1;
369 tex_res.base = accel_state->src_obj[0].offset;
370 tex_res.mip_base = accel_state->src_obj[0].offset;
372 tex_res.bo = accel_state->src_obj[0].bo;
373 tex_res.mip_bo = accel_state->src_obj[0].bo;
389 if (accel_state->src_obj[0].tiling_flags == 0)
391 r600_set_tex_resource(pScrn, accel_state->ib, &tex_res, accel_state->src_obj[0].domain);