Lines Matching defs:fb_buf
1254 static void check_result(struct amdgpu_vcn_bo fb_buf, struct amdgpu_vcn_bo bs_buf, int frame_type)
1262 r = amdgpu_bo_cpu_map(fb_buf.handle, (void **)&fb_buf.ptr);
1264 fb_ptr = (uint32_t*)fb_buf.ptr;
1266 r = amdgpu_bo_cpu_unmap(fb_buf.handle);
1287 struct amdgpu_vcn_bo bs_buf, fb_buf, input_buf;
1307 alloc_resource(&fb_buf, 4096, AMDGPU_GEM_DOMAIN_GTT);
1312 resources[num_resources++] = fb_buf.handle;
1321 r = amdgpu_bo_cpu_map(fb_buf.handle, (void**)&fb_buf.ptr);
1322 memset(fb_buf.ptr, 0, 4096);
1323 r = amdgpu_bo_cpu_unmap(fb_buf.handle);
1517 ib_cpu[len++] = fb_buf.addr >> 32;
1518 ib_cpu[len++] = fb_buf.addr;
1580 check_result(fb_buf, bs_buf, frame_type);
1582 free_resource(&fb_buf);