HomeSort by: relevance | last modified time | path
    Searched refs:hw_ip (Results 1 - 3 of 3) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_ctx.c 70 static int amdgpu_ctx_init_entity(struct amdgpu_ctx *ctx, const u32 hw_ip, const u32 ring)
87 switch (hw_ip) {
135 ctx->entities[hw_ip][ring] = entity;
208 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance,
213 if (hw_ip >= AMDGPU_HW_IP_NUM) {
214 DRM_ERROR("unknown HW IP type: %d\n", hw_ip);
224 if (ring >= amdgpu_ctx_num_entities[hw_ip]) {
225 DRM_DEBUG("invalid ring: %d %d\n", hw_ip, ring);
229 if (ctx->entities[hw_ip][ring] == NULL) {
230 r = amdgpu_ctx_init_entity(ctx, hw_ip, ring)
    [all...]
amdgpu_ctx.h 71 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance,
amdgpu_discovery.c 263 int hw_ip; local
313 for (hw_ip = 0; hw_ip < MAX_HWIP; hw_ip++) {
314 if (hw_id_map[hw_ip] == le16_to_cpu(ip->hw_id)) {
317 adev->reg_offset[hw_ip][ip->number_instance] =

Completed in 16 milliseconds