[prenex@prenex-laptop zen-kernel-5.0.17-lqx1]$ grep -R gpu_init drivers/gpu/* drivers/gpu/drm/amd/amdgpu/si_dpm.c: struct amdgpu_ps *amdgpu_initial_state, drivers/gpu/drm/amd/amdgpu/si_dpm.c: struct si_ps *initial_state = si_get_ps(amdgpu_initial_state); drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c: /* start to check msg if request is idh_req_gpu_init_access */ drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c: /* start to check msg if request is idh_req_gpu_init_access */ drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c: * amdgpu_init_mem_type - Initialize a memory manager for a specific type of drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:static int amdgpu_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c: .init_mem_type = &amdgpu_init_mem_type, drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:static int __init amdgpu_init(void) drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c:module_init(amdgpu_init); drivers/gpu/drm/i915/gvt/cfg_space.c: * intel_vgpu_init_cfg_space - init vGPU configuration space when create vGPU drivers/gpu/drm/i915/gvt/cfg_space.c:void intel_vgpu_init_cfg_space(struct intel_vgpu *vgpu, drivers/gpu/drm/i915/gvt/cfg_space.c: intel_vgpu_init_cfg_space(vgpu, primary); drivers/gpu/drm/i915/gvt/gtt.h:extern int intel_vgpu_init_gtt(struct intel_vgpu *vgpu); drivers/gpu/drm/i915/gvt/edid.c: intel_vgpu_init_i2c_edid(vgpu); drivers/gpu/drm/i915/gvt/edid.c: intel_vgpu_init_i2c_edid(vgpu); drivers/gpu/drm/i915/gvt/edid.c: intel_vgpu_init_i2c_edid(vgpu); drivers/gpu/drm/i915/gvt/edid.c: intel_vgpu_init_i2c_edid(vgpu); drivers/gpu/drm/i915/gvt/edid.c: intel_vgpu_init_i2c_edid(vgpu); drivers/gpu/drm/i915/gvt/edid.c: * intel_vgpu_init_i2c_edid - initialize vGPU i2c edid emulation drivers/gpu/drm/i915/gvt/edid.c:void intel_vgpu_init_i2c_edid(struct intel_vgpu *vgpu) drivers/gpu/drm/i915/gvt/sched_policy.h:int intel_vgpu_init_sched_policy(struct intel_vgpu *vgpu); drivers/gpu/drm/i915/gvt/display.c: * intel_vgpu_init_display- initialize vGPU virtual display emulation drivers/gpu/drm/i915/gvt/display.c:int intel_vgpu_init_display(struct intel_vgpu *vgpu, u64 resolution) drivers/gpu/drm/i915/gvt/display.c: intel_vgpu_init_i2c_edid(vgpu); drivers/gpu/drm/i915/gvt/opregion.c: * intel_vgpu_init_opregion - initialize the stuff used to emulate opregion drivers/gpu/drm/i915/gvt/opregion.c:int intel_vgpu_init_opregion(struct intel_vgpu *vgpu) drivers/gpu/drm/i915/gvt/sched_policy.c:int intel_vgpu_init_sched_policy(struct intel_vgpu *vgpu) drivers/gpu/drm/i915/gvt/display.h:int intel_vgpu_init_display(struct intel_vgpu *vgpu, u64 resolution); drivers/gpu/drm/i915/gvt/vgpu.c: ret = intel_vgpu_init_sched_policy(vgpu); drivers/gpu/drm/i915/gvt/vgpu.c: intel_vgpu_init_cfg_space(vgpu, param->primary); drivers/gpu/drm/i915/gvt/vgpu.c: ret = intel_vgpu_init_mmio(vgpu); drivers/gpu/drm/i915/gvt/vgpu.c: ret = intel_vgpu_init_gtt(vgpu); drivers/gpu/drm/i915/gvt/vgpu.c: ret = intel_vgpu_init_opregion(vgpu); drivers/gpu/drm/i915/gvt/vgpu.c: ret = intel_vgpu_init_display(vgpu, param->resolution); drivers/gpu/drm/i915/gvt/vgpu.c: ret = intel_vgpu_init_sched_policy(vgpu); drivers/gpu/drm/i915/gvt/gvt.h:void intel_vgpu_init_cfg_space(struct intel_vgpu *vgpu, drivers/gpu/drm/i915/gvt/gvt.h:int intel_vgpu_init_opregion(struct intel_vgpu *vgpu); drivers/gpu/drm/i915/gvt/mmio.h:int intel_vgpu_init_mmio(struct intel_vgpu *vgpu); drivers/gpu/drm/i915/gvt/mmio.c: * intel_vgpu_init_mmio - init MMIO space drivers/gpu/drm/i915/gvt/mmio.c:int intel_vgpu_init_mmio(struct intel_vgpu *vgpu) drivers/gpu/drm/i915/gvt/execlist.h:int intel_vgpu_init_execlist(struct intel_vgpu *vgpu); drivers/gpu/drm/i915/gvt/gtt.c: * intel_vgpu_init_gtt - initialize per-vGPU graphics memory virulization drivers/gpu/drm/i915/gvt/gtt.c:int intel_vgpu_init_gtt(struct intel_vgpu *vgpu) drivers/gpu/drm/i915/gvt/edid.h:void intel_vgpu_init_i2c_edid(struct intel_vgpu *vgpu); drivers/gpu/drm/msm/msm_gpu.h:int msm_gpu_init(struct drm_device *drm, struct platform_device *pdev, drivers/gpu/drm/msm/adreno/adreno_gpu.h:int adreno_gpu_init(struct drm_device *drm, struct platform_device *pdev, drivers/gpu/drm/msm/adreno/adreno_gpu.h:struct msm_gpu *a2xx_gpu_init(struct drm_device *dev); drivers/gpu/drm/msm/adreno/adreno_gpu.h:struct msm_gpu *a3xx_gpu_init(struct drm_device *dev); drivers/gpu/drm/msm/adreno/adreno_gpu.h:struct msm_gpu *a4xx_gpu_init(struct drm_device *dev); drivers/gpu/drm/msm/adreno/adreno_gpu.h:struct msm_gpu *a5xx_gpu_init(struct drm_device *dev); drivers/gpu/drm/msm/adreno/adreno_gpu.h:struct msm_gpu *a6xx_gpu_init(struct drm_device *dev); drivers/gpu/drm/msm/adreno/adreno_gpu.c:int adreno_gpu_init(struct drm_device *drm, struct platform_device *pdev, drivers/gpu/drm/msm/adreno/adreno_gpu.c: return msm_gpu_init(drm, pdev, &adreno_gpu->base, &funcs->base, drivers/gpu/drm/msm/adreno/a6xx_gpu.c:struct msm_gpu *a6xx_gpu_init(struct drm_device *dev) drivers/gpu/drm/msm/adreno/a6xx_gpu.c: ret = adreno_gpu_init(dev, pdev, adreno_gpu, &funcs, 1); drivers/gpu/drm/msm/adreno/a5xx_gpu.c:struct msm_gpu *a5xx_gpu_init(struct drm_device *dev) drivers/gpu/drm/msm/adreno/a5xx_gpu.c: ret = adreno_gpu_init(dev, pdev, adreno_gpu, &funcs, 4); drivers/gpu/drm/msm/adreno/a3xx_gpu.c:struct msm_gpu *a3xx_gpu_init(struct drm_device *dev) drivers/gpu/drm/msm/adreno/a3xx_gpu.c: ret = adreno_gpu_init(dev, pdev, adreno_gpu, &funcs, 1); drivers/gpu/drm/msm/adreno/a2xx_gpu.c:struct msm_gpu *a2xx_gpu_init(struct drm_device *dev) drivers/gpu/drm/msm/adreno/a2xx_gpu.c: ret = adreno_gpu_init(dev, pdev, adreno_gpu, &funcs, 1); drivers/gpu/drm/msm/adreno/adreno_device.c: .init = a2xx_gpu_init, drivers/gpu/drm/msm/adreno/adreno_device.c: .init = a2xx_gpu_init, drivers/gpu/drm/msm/adreno/adreno_device.c: .init = a2xx_gpu_init, drivers/gpu/drm/msm/adreno/adreno_device.c: .init = a3xx_gpu_init, drivers/gpu/drm/msm/adreno/adreno_device.c: .init = a3xx_gpu_init, drivers/gpu/drm/msm/adreno/adreno_device.c: .init = a3xx_gpu_init, drivers/gpu/drm/msm/adreno/adreno_device.c: .init = a3xx_gpu_init, drivers/gpu/drm/msm/adreno/adreno_device.c: .init = a4xx_gpu_init, drivers/gpu/drm/msm/adreno/adreno_device.c: .init = a4xx_gpu_init, drivers/gpu/drm/msm/adreno/adreno_device.c: .init = a5xx_gpu_init, drivers/gpu/drm/msm/adreno/adreno_device.c: .init = a6xx_gpu_init, drivers/gpu/drm/msm/adreno/a4xx_gpu.c:struct msm_gpu *a4xx_gpu_init(struct drm_device *dev) drivers/gpu/drm/msm/adreno/a4xx_gpu.c: ret = adreno_gpu_init(dev, pdev, adreno_gpu, &funcs, 1); drivers/gpu/drm/msm/msm_gpu.c:int msm_gpu_init(struct drm_device *drm, struct platform_device *pdev, drivers/gpu/drm/etnaviv/etnaviv_gpu.c:int etnaviv_gpu_init(struct etnaviv_gpu *gpu) drivers/gpu/drm/etnaviv/etnaviv_drv.c: ret = etnaviv_gpu_init(g); drivers/gpu/drm/etnaviv/etnaviv_gpu.h:int etnaviv_gpu_init(struct etnaviv_gpu *gpu); drivers/gpu/drm/radeon/cik.c: * cik_gpu_init - setup the 3D engine drivers/gpu/drm/radeon/cik.c:static void cik_gpu_init(struct radeon_device *rdev) drivers/gpu/drm/radeon/cik.c: cik_gpu_init(rdev); drivers/gpu/drm/radeon/rs400.c:static void rs400_gpu_init(struct radeon_device *rdev) drivers/gpu/drm/radeon/rs400.c: rs400_gpu_init(rdev); drivers/gpu/drm/radeon/r300.c:static void r300_gpu_init(struct radeon_device *rdev) drivers/gpu/drm/radeon/r300.c: r300_gpu_init(rdev); drivers/gpu/drm/radeon/r520.c:static void r520_gpu_init(struct radeon_device *rdev) drivers/gpu/drm/radeon/r520.c: r520_gpu_init(rdev); drivers/gpu/drm/radeon/rs690.c:static void rs690_gpu_init(struct radeon_device *rdev) drivers/gpu/drm/radeon/rs690.c: rs690_gpu_init(rdev); drivers/gpu/drm/radeon/r600.c:static void r600_gpu_init(struct radeon_device *rdev); drivers/gpu/drm/radeon/r600.c:static void r600_gpu_init(struct radeon_device *rdev) drivers/gpu/drm/radeon/r600.c: r600_gpu_init(rdev); drivers/gpu/drm/radeon/evergreen.c:static void evergreen_gpu_init(struct radeon_device *rdev); drivers/gpu/drm/radeon/evergreen.c:static void evergreen_gpu_init(struct radeon_device *rdev) drivers/gpu/drm/radeon/evergreen.c: evergreen_gpu_init(rdev); drivers/gpu/drm/radeon/rv770.c:static void rv770_gpu_init(struct radeon_device *rdev); drivers/gpu/drm/radeon/rv770.c:static void rv770_gpu_init(struct radeon_device *rdev) drivers/gpu/drm/radeon/rv770.c: rv770_gpu_init(rdev); drivers/gpu/drm/radeon/si.c:static void si_gpu_init(struct radeon_device *rdev) drivers/gpu/drm/radeon/si.c: si_gpu_init(rdev); drivers/gpu/drm/radeon/rs600.c:static void rs600_gpu_init(struct radeon_device *rdev); drivers/gpu/drm/radeon/rs600.c:static void rs600_gpu_init(struct radeon_device *rdev) drivers/gpu/drm/radeon/rs600.c: rs600_gpu_init(rdev); drivers/gpu/drm/radeon/ni.c:static void cayman_gpu_init(struct radeon_device *rdev) drivers/gpu/drm/radeon/ni.c: cayman_gpu_init(rdev); drivers/gpu/drm/radeon/rv515.c:static void rv515_gpu_init(struct radeon_device *rdev); drivers/gpu/drm/radeon/rv515.c:static void rv515_gpu_init(struct radeon_device *rdev) drivers/gpu/drm/radeon/rv515.c: rv515_gpu_init(rdev); drivers/gpu/drm/virtio/virtgpu_kms.c:static void virtio_gpu_init_vq(struct virtio_gpu_queue *vgvq, drivers/gpu/drm/virtio/virtgpu_kms.c: virtio_gpu_init_vq(&vgdev->ctrlq, virtio_gpu_dequeue_ctrl_func); drivers/gpu/drm/virtio/virtgpu_kms.c: virtio_gpu_init_vq(&vgdev->cursorq, virtio_gpu_dequeue_cursor_func); drivers/gpu/drm/virtio/virtgpu_object.c:static void virtio_gpu_init_ttm_placement(struct virtio_gpu_object *vgbo, drivers/gpu/drm/virtio/virtgpu_object.c: virtio_gpu_init_ttm_placement(bo, pinned); drivers/gpu/drm/virtio/virtgpu_ttm.c:static int virtio_gpu_init_mem_type(struct ttm_bo_device *bdev, uint32_t type, drivers/gpu/drm/virtio/virtgpu_ttm.c: .init_mem_type = &virtio_gpu_init_mem_type,