/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_release.c | 196 if (!bo->tbo.pin_count) {
|
H A D | qxl_ioctl.c | 321 if (!qobj->tbo.pin_count) {
|
H A D | qxl_object.c | 299 if (bo->tbo.pin_count) {
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.c | 195 buf->tbo.pin_count == 0) { 290 if (pin == !!bo->pin_count)
|
H A D | vmwgfx_gem.c | 257 seq_printf(m, ", priority = %u, pin_count = %u, GEM refs = %d, TTM refs = %d", 259 bo->tbo.pin_count,
|
H A D | vmwgfx_drv.h | 156 * @pin_count: The pin count for this resource. A pinned resource has a 183 unsigned long pin_count; member in struct:vmw_resource
|
H A D | vmwgfx_blit.c | 465 if (!(dst->pin_count)) 467 if (!(src->pin_count))
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.c | 879 * pin_count and pin_size accordingly. 917 if (bo->tbo.pin_count) { 1009 * Decreases the pin_count, and clears the flags if pin_count reaches 0. 1020 if (bo->tbo.pin_count) 1403 if (abo->tbo.pin_count > 0) 1514 !bo->tbo.pin_count && bo->tbo.type != ttm_bo_type_kernel); 1590 unsigned int pin_count; local 1621 pin_count = READ_ONCE(bo->tbo.pin_count); [all...] |
H A D | amdgpu_amdkfd_gpuvm.c | 2957 if (attachment->bo_va->base.bo->tbo.pin_count) 3033 if (mem->bo->tbo.pin_count)
|
H A D | amdgpu_cs.c | 790 if (bo->tbo.pin_count)
|
H A D | amdgpu_dma_buf.c | 153 if (!bo->tbo.pin_count) { 258 if (!bo->tbo.pin_count &&
|
/linux-master/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_submission.c | 3082 * intel_context_sched_disable_unpin (-2 to pin_count). 3084 atomic_add(2, &ce->pin_count); 3218 * calls intel_context_sched_disable_unpin (-2 to pin_count). 3220 atomic_add(2, &ce->pin_count); 5071 * the pin_count going to zero and the context still being 5467 atomic_read(&ce->pin_count));
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_bo.c | 1738 if (bo->ttm.pin_count == 1 && !list_empty(&bo->pinned_link)) { 1851 if (!READ_ONCE(bo->ttm.pin_count))
|
H A D | xe_bo.h | 198 return bo->ttm.pin_count;
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 143 WARN_ON(nvbo->bo.pin_count > 0); 491 if (nvbo->bo.pin_count) { 559 if (!nvbo->bo.pin_count) {
|
/linux-master/drivers/gpu/drm/ttm/ |
H A D | ttm_bo.c | 326 WARN_ON_ONCE(bo->pin_count); 364 if (bo->pin_count) { 365 bo->pin_count = 0; 526 if (bo->pin_count) { 669 ++bo->pin_count; 684 if (WARN_ON_ONCE(!bo->pin_count)) 688 --bo->pin_count; 920 if (bo->pin_count) 988 bo->pin_count = 0;
|
H A D | ttm_bo_util.c | 248 fbo->base.pin_count = 0;
|
H A D | ttm_resource.c | 135 if (bo->bulk_move && !bo->pin_count) 143 if (bo->bulk_move && !bo->pin_count) 155 if (bo->pin_count) { 197 if (bo->pin_count)
|
/linux-master/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_bo_test.c | 478 KUNIT_ASSERT_EQ(test, bo->pin_count, no_pins); 518 KUNIT_ASSERT_EQ(test, bo->pin_count, 1); 527 KUNIT_ASSERT_EQ(test, bo->pin_count, 0); 573 KUNIT_ASSERT_EQ(test, bo->pin_count, 2); 581 KUNIT_ASSERT_EQ(test, bo->pin_count, 1);
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_object.c | 283 if (bo->tbo.pin_count) { 341 if (!bo->tbo.pin_count) { 487 if (!bo->tbo.pin_count) { 566 if (old_object->tbo.pin_count == 0) 744 if (rbo->tbo.pin_count > 0)
|
H A D | radeon_audio.c | 193 int pin_count = 0; local 204 pin_count++; 208 if ((pin_count > 1) && (enable_mask == 0))
|
/linux-master/drivers/gpu/drm/loongson/ |
H A D | lsdc_ttm.c | 169 if (unlikely(tbo->pin_count > 0)) { 258 if (unlikely(!tbo->pin_count)) { 293 if (tbo->pin_count) 327 if (unlikely(!tbo->pin_count)) { 334 if (!tbo->pin_count) {
|
H A D | lsdc_drv.c | 346 unsigned int pin_count = tbo->pin_count; local 350 lsdc_mem_type_to_str(resource->mem_type), pin_count); 352 if (!pin_count) 364 --pin_count; 365 } while (pin_count);
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_debugfs.c | 195 int pin_count = 0; local 219 pin_count++; 279 seq_printf(m, " (pinned x %d)", pin_count);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_gem_vram_helper.c | 273 if (WARN_ON_ONCE(!gbo->bo.pin_count)) 285 if (gbo->bo.pin_count)
|