ivpu_drv.h (52ab5be191c42fe1bffac97ee248a237b9712889) | ivpu_drv.h (3f440e0b4852288268df4f0757c53ad3031df80c) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (C) 2020-2024 Intel Corporation 4 */ 5 6#ifndef __IVPU_DRV_H__ 7#define __IVPU_DRV_H__ 8 --- 136 unchanged lines hidden (view full) --- 145 146 ktime_t busy_start_ts; 147 ktime_t busy_time; 148 149 struct { 150 int boot; 151 int jsm; 152 int tdr; | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (C) 2020-2024 Intel Corporation 4 */ 5 6#ifndef __IVPU_DRV_H__ 7#define __IVPU_DRV_H__ 8 --- 136 unchanged lines hidden (view full) --- 145 146 ktime_t busy_start_ts; 147 ktime_t busy_time; 148 149 struct { 150 int boot; 151 int jsm; 152 int tdr; |
153 int reschedule_suspend; | |
154 int autosuspend; 155 int d0i3_entry_msg; 156 } timeout; 157}; 158 159/* 160 * file_priv has its own refcount (ref) that allows user space to close the fd 161 * without blocking even if VPU is still processing some jobs. --- 21 unchanged lines hidden (view full) --- 183 184#define IVPU_TEST_MODE_FW_TEST BIT(0) 185#define IVPU_TEST_MODE_NULL_HW BIT(1) 186#define IVPU_TEST_MODE_NULL_SUBMISSION BIT(2) 187#define IVPU_TEST_MODE_D0I3_MSG_DISABLE BIT(4) 188#define IVPU_TEST_MODE_D0I3_MSG_ENABLE BIT(5) 189#define IVPU_TEST_MODE_PREEMPTION_DISABLE BIT(6) 190#define IVPU_TEST_MODE_HWS_EXTRA_EVENTS BIT(7) | 153 int autosuspend; 154 int d0i3_entry_msg; 155 } timeout; 156}; 157 158/* 159 * file_priv has its own refcount (ref) that allows user space to close the fd 160 * without blocking even if VPU is still processing some jobs. --- 21 unchanged lines hidden (view full) --- 182 183#define IVPU_TEST_MODE_FW_TEST BIT(0) 184#define IVPU_TEST_MODE_NULL_HW BIT(1) 185#define IVPU_TEST_MODE_NULL_SUBMISSION BIT(2) 186#define IVPU_TEST_MODE_D0I3_MSG_DISABLE BIT(4) 187#define IVPU_TEST_MODE_D0I3_MSG_ENABLE BIT(5) 188#define IVPU_TEST_MODE_PREEMPTION_DISABLE BIT(6) 189#define IVPU_TEST_MODE_HWS_EXTRA_EVENTS BIT(7) |
190#define IVPU_TEST_MODE_DISABLE_TIMEOUTS BIT(8) |
|
191extern int ivpu_test_mode; 192 193struct ivpu_file_priv *ivpu_file_priv_get(struct ivpu_file_priv *file_priv); 194void ivpu_file_priv_put(struct ivpu_file_priv **link); 195 196int ivpu_boot(struct ivpu_device *vdev); 197int ivpu_shutdown(struct ivpu_device *vdev); 198void ivpu_prepare_for_reset(struct ivpu_device *vdev); --- 80 unchanged lines hidden --- | 191extern int ivpu_test_mode; 192 193struct ivpu_file_priv *ivpu_file_priv_get(struct ivpu_file_priv *file_priv); 194void ivpu_file_priv_put(struct ivpu_file_priv **link); 195 196int ivpu_boot(struct ivpu_device *vdev); 197int ivpu_shutdown(struct ivpu_device *vdev); 198void ivpu_prepare_for_reset(struct ivpu_device *vdev); --- 80 unchanged lines hidden --- |