mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-21 06:50:25 +00:00

Adds basic support for the new display classes available on GB20x GPUs. Most of the changes here deal with HW method moves, with the only other change of note being tweaks to skip allocation of CTXDMA objects, which aren't required on Blackwell display. Signed-off-by: Ben Skeggs <bskeggs@nvidia.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Timur Tabi <ttabi@nvidia.com> Tested-by: Timur Tabi <ttabi@nvidia.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
22 lines
1.1 KiB
C
22 lines
1.1 KiB
C
/* SPDX-License-Identifier: MIT
|
|
*
|
|
* Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
|
|
*/
|
|
#ifndef _clc97b_h_
|
|
#define _clc97b_h_
|
|
|
|
// dma opcode instructions
|
|
#define NVC97B_DMA
|
|
#define NVC97B_DMA_OPCODE 31:29
|
|
#define NVC97B_DMA_OPCODE_METHOD 0x00000000
|
|
#define NVC97B_DMA_OPCODE_JUMP 0x00000001
|
|
#define NVC97B_DMA_OPCODE_NONINC_METHOD 0x00000002
|
|
#define NVC97B_DMA_OPCODE_SET_SUBDEVICE_MASK 0x00000003
|
|
#define NVC97B_DMA_METHOD_COUNT 27:18
|
|
#define NVC97B_DMA_METHOD_OFFSET 15:2
|
|
#define NVC97B_DMA_DATA 31:0
|
|
#define NVC97B_DMA_DATA_NOP 0x00000000
|
|
#define NVC97B_DMA_JUMP_OFFSET 15:2
|
|
#define NVC97B_DMA_SET_SUBDEVICE_MASK_VALUE 11:0
|
|
|
|
#endif // _clc97b_h
|