ivpu_drv.c (cf79f291f985662150363b4a93d16f88f12643bc) ivpu_drv.c (30cf36bb0408a163eb3d58ea6b883c612c029286)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2020-2023 Intel Corporation
4 */
5
6#include <linux/firmware.h>
7#include <linux/module.h>
8#include <linux/pci.h>

--- 355 unchanged lines hidden (view full) ---

364 if (ret) {
365 ivpu_err(vdev, "Failed to start the firmware: %d\n", ret);
366 return ret;
367 }
368
369 ret = ivpu_wait_for_ready(vdev);
370 if (ret) {
371 ivpu_err(vdev, "Failed to boot the firmware: %d\n", ret);
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (C) 2020-2023 Intel Corporation
4 */
5
6#include <linux/firmware.h>
7#include <linux/module.h>
8#include <linux/pci.h>

--- 355 unchanged lines hidden (view full) ---

364 if (ret) {
365 ivpu_err(vdev, "Failed to start the firmware: %d\n", ret);
366 return ret;
367 }
368
369 ret = ivpu_wait_for_ready(vdev);
370 if (ret) {
371 ivpu_err(vdev, "Failed to boot the firmware: %d\n", ret);
372 ivpu_mmu_evtq_dump(vdev);
372 return ret;
373 }
374
375 ivpu_hw_irq_clear(vdev);
376 enable_irq(vdev->irq);
377 ivpu_hw_irq_enable(vdev);
378 ivpu_ipc_enable(vdev);
379 return 0;

--- 323 unchanged lines hidden ---
373 return ret;
374 }
375
376 ivpu_hw_irq_clear(vdev);
377 enable_irq(vdev->irq);
378 ivpu_hw_irq_enable(vdev);
379 ivpu_ipc_enable(vdev);
380 return 0;

--- 323 unchanged lines hidden ---