mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2025-02-07 23:54:14 +01:00
58 lines
2.1 KiB
C
58 lines
2.1 KiB
C
|
/*
|
||
|
* SPDX-FileCopyrightText: Copyright (c) 2004-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||
|
* SPDX-License-Identifier: MIT
|
||
|
*
|
||
|
* Permission is hereby granted, free of charge, to any person obtaining a
|
||
|
* copy of this software and associated documentation files (the "Software"),
|
||
|
* to deal in the Software without restriction, including without limitation
|
||
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||
|
* Software is furnished to do so, subject to the following conditions:
|
||
|
*
|
||
|
* The above copyright notice and this permission notice shall be included in
|
||
|
* all copies or substantial portions of the Software.
|
||
|
*
|
||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||
|
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||
|
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||
|
* DEALINGS IN THE SOFTWARE.
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
//
|
||
|
// This file was generated with FINN, an NVIDIA coding tool.
|
||
|
// Source file: ctrl/ctrl0080/ctrl0080rc.finn
|
||
|
//
|
||
|
|
||
|
#include "ctrl/ctrl0080/ctrl0080base.h"
|
||
|
|
||
|
/* NV01_DEVICE_XX/NV03_DEVICE gpu control commands and parameters */
|
||
|
|
||
|
/*
|
||
|
* NV0080_CTRL_CMD_RC_DISABLE_RESET_CHANNEL_CALLBACK
|
||
|
*
|
||
|
* This command prevents RM from using callbacks when resetting a channel due
|
||
|
* to a page fault.
|
||
|
*
|
||
|
* Possible status return values are:
|
||
|
* NV_OK
|
||
|
*/
|
||
|
#define NV0080_CTRL_CMD_RC_DISABLE_RESET_CHANNEL_CALLBACK (0x801d01) /* finn: Evaluated from "(FINN_NV01_DEVICE_0_RC_INTERFACE_ID << 8) | 0x1" */
|
||
|
|
||
|
/*
|
||
|
* NV0080_CTRL_CMD_RC_ENABLE_RESET_CHANNEL_CALLBACK
|
||
|
*
|
||
|
* This command permits RM to use callbacks when resetting a channel due
|
||
|
* to a page fault.
|
||
|
*
|
||
|
* Possible status return values are:
|
||
|
* NV_OK
|
||
|
*/
|
||
|
#define NV0080_CTRL_CMD_RC_ENABLE_RESET_CHANNEL_CALLBACK (0x801d02) /* finn: Evaluated from "(FINN_NV01_DEVICE_0_RC_INTERFACE_ID << 8) | 0x2" */
|
||
|
|
||
|
/* _ctrl0080rc_h_ */
|