diff options
author | John Hubbard <jhubbard@nvidia.com> | 2019-04-21 17:09:24 -0700 |
---|---|---|
committer | John Hubbard <jhubbard@nvidia.com> | 2019-04-24 11:13:31 -0700 |
commit | 60b67c31fcad6d0dc9603a034994a12efe3d5202 (patch) | |
tree | c71d32e4b2a0d2a9770ac6b9add6ed49b0320e51 /Display-Class-Methods/cl507e.h | |
parent | d1be635fac4adad238916d28dde406c81ba564a8 (diff) | |
download | open-gpu-doc-60b67c31fcad6d0dc9603a034994a12efe3d5202.tar.xz |
Open doc files, version 1 of everything
This copies over files from:
http://download.nvidia.com/open-gpu-doc/
with a few overrides from local, as-yet-to-be-published
files (generally just a file suffix and licensing tweak).
Here's the script that was used to create this commit:
wget -r http://download.nvidia.com/open-gpu-doc/
mv download.nvidia.com/open-gpu-doc/* .
rm -rf download.nvidia.com/
find . -name index.html | xargs rm -f
find . -name Thumbs.db | xargs rm -f
find . -type f | grep -v \.git | xargs file | grep CRLF | cut -f1 -d: | xargs dos2unix
for f in `find . -name 1 | cut -f2 -d "/"`; do pushd $f; mv 1/* .; popd; done
find . -name 1 | xargs rmdir
rm -rf Host-Fifo/volta/gv100
mkdir -p Host-Fifo/volta/gv100
cp $sw/docs/Public_Devel_Docs/release/Host-Fifo/volta/gv100/* Host-Fifo/volta/gv100/
rm Display-Ref-Manuals/gv100/dev_display.ref
cp $sw/docs/Public_Devel_Docs/release/Display-Ref-Manuals/1/gv100/dev_display.ref \
Display-Ref-Manuals/gv100/dev_display.ref.txt
git add .
git mv DCB/DCB-4.0-Specification.html DCB/DCB-4.x-Specification.html
git reset HEAD Display-Class-Methods/2
git reset HEAD DCB/2
git commit
Reviewed-by: Andy Ritger
Diffstat (limited to 'Display-Class-Methods/cl507e.h')
-rw-r--r-- | Display-Class-Methods/cl507e.h | 173 |
1 files changed, 173 insertions, 0 deletions
diff --git a/Display-Class-Methods/cl507e.h b/Display-Class-Methods/cl507e.h new file mode 100644 index 0000000..1827276 --- /dev/null +++ b/Display-Class-Methods/cl507e.h @@ -0,0 +1,173 @@ +/* + * Copyright (c) 1993-2014, NVIDIA CORPORATION. All rights reserved. + * + * 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. + */ + + +#ifndef _cl507e_h_ +#define _cl507e_h_ + +#ifdef __cplusplus +extern "C" { +#endif + +#define NV507E_OVERLAY_CHANNEL_DMA (0x0000507E) + +#define NV_DISP_OVERLAY_NOTIFIER_1 0x00000000 +#define NV_DISP_OVERLAY_NOTIFIER_1_SIZEOF 0x00000008 +#define NV_DISP_OVERLAY_NOTIFIER_1__0 0x00000000 +#define NV_DISP_OVERLAY_NOTIFIER_1__0_PRESENT_COUNT 15:0 +#define NV_DISP_OVERLAY_NOTIFIER_1__0_TIMESTAMP 29:16 +#define NV_DISP_OVERLAY_NOTIFIER_1__0_STATUS 31:30 +#define NV_DISP_OVERLAY_NOTIFIER_1__0_STATUS_NOT_BEGUN 0x00000000 +#define NV_DISP_OVERLAY_NOTIFIER_1__0_STATUS_BEGUN 0x00000001 +#define NV_DISP_OVERLAY_NOTIFIER_1__0_STATUS_FINISHED 0x00000002 +#define NV_DISP_OVERLAY_NOTIFIER_1__1 0x00000001 +#define NV_DISP_OVERLAY_NOTIFIER_1__1_PRESENT_START_TIME 31:0 + + +// dma opcode instructions +#define NV507E_DMA 0x00000000 +#define NV507E_DMA_OPCODE 31:29 +#define NV507E_DMA_OPCODE_METHOD 0x00000000 +#define NV507E_DMA_OPCODE_JUMP 0x00000001 +#define NV507E_DMA_OPCODE_NONINC_METHOD 0x00000002 +#define NV507E_DMA_OPCODE_SET_SUBDEVICE_MASK 0x00000003 +#define NV507E_DMA_OPCODE 31:29 +#define NV507E_DMA_OPCODE_METHOD 0x00000000 +#define NV507E_DMA_OPCODE_NONINC_METHOD 0x00000002 +#define NV507E_DMA_METHOD_COUNT 27:18 +#define NV507E_DMA_METHOD_OFFSET 11:2 +#define NV507E_DMA_DATA 31:0 +#define NV507E_DMA_NOP 0x00000000 +#define NV507E_DMA_OPCODE 31:29 +#define NV507E_DMA_OPCODE_JUMP 0x00000001 +#define NV507E_DMA_JUMP_OFFSET 11:2 +#define NV507E_DMA_OPCODE 31:29 +#define NV507E_DMA_OPCODE_SET_SUBDEVICE_MASK 0x00000003 +#define NV507E_DMA_SET_SUBDEVICE_MASK_VALUE 11:0 + +// class methods +#define NV507E_PUT (0x00000000) +#define NV507E_PUT_PTR 11:2 +#define NV507E_GET (0x00000004) +#define NV507E_GET_PTR 11:2 +#define NV507E_UPDATE (0x00000080) +#define NV507E_UPDATE_INTERLOCK_WITH_CORE 0:0 +#define NV507E_UPDATE_INTERLOCK_WITH_CORE_DISABLE (0x00000000) +#define NV507E_UPDATE_INTERLOCK_WITH_CORE_ENABLE (0x00000001) +#define NV507E_SET_PRESENT_CONTROL (0x00000084) +#define NV507E_SET_PRESENT_CONTROL_BEGIN_MODE 1:0 +#define NV507E_SET_PRESENT_CONTROL_BEGIN_MODE_ASAP (0x00000000) +#define NV507E_SET_PRESENT_CONTROL_BEGIN_MODE_TIMESTAMP (0x00000003) +#define NV507E_SET_PRESENT_CONTROL_MIN_PRESENT_INTERVAL 7:4 +#define NV507E_SET_SEMAPHORE_ACQUIRE (0x00000088) +#define NV507E_SET_SEMAPHORE_ACQUIRE_VALUE 31:0 +#define NV507E_SET_SEMAPHORE_RELEASE (0x0000008C) +#define NV507E_SET_SEMAPHORE_RELEASE_VALUE 31:0 +#define NV507E_SET_SEMAPHORE_CONTROL (0x00000090) +#define NV507E_SET_SEMAPHORE_CONTROL_OFFSET 11:2 +#define NV507E_SET_CONTEXT_DMA_SEMAPHORE (0x00000094) +#define NV507E_SET_CONTEXT_DMA_SEMAPHORE_HANDLE 31:0 +#define NV507E_SET_NOTIFIER_CONTROL (0x000000A0) +#define NV507E_SET_NOTIFIER_CONTROL_MODE 30:30 +#define NV507E_SET_NOTIFIER_CONTROL_MODE_WRITE (0x00000000) +#define NV507E_SET_NOTIFIER_CONTROL_MODE_WRITE_AWAKEN (0x00000001) +#define NV507E_SET_NOTIFIER_CONTROL_OFFSET 11:2 +#define NV507E_SET_CONTEXT_DMA_NOTIFIER (0x000000A4) +#define NV507E_SET_CONTEXT_DMA_NOTIFIER_HANDLE 31:0 +#define NV507E_SET_CONTEXT_DMA_ISO (0x000000C0) +#define NV507E_SET_CONTEXT_DMA_ISO_HANDLE 31:0 +#define NV507E_SET_POINT_IN (0x000000E0) +#define NV507E_SET_POINT_IN_X 14:0 +#define NV507E_SET_POINT_IN_Y 30:16 +#define NV507E_SET_SIZE_IN (0x000000E4) +#define NV507E_SET_SIZE_IN_WIDTH 14:0 +#define NV507E_SET_SIZE_IN_HEIGHT 30:16 +#define NV507E_SET_SIZE_OUT (0x000000E8) +#define NV507E_SET_SIZE_OUT_WIDTH 14:0 +#define NV507E_SET_COMPOSITION_CONTROL (0x00000100) +#define NV507E_SET_COMPOSITION_CONTROL_MODE 3:0 +#define NV507E_SET_COMPOSITION_CONTROL_MODE_SOURCE_COLOR_VALUE_KEYING (0x00000000) +#define NV507E_SET_COMPOSITION_CONTROL_MODE_DESTINATION_COLOR_VALUE_KEYING (0x00000001) +#define NV507E_SET_COMPOSITION_CONTROL_MODE_OPAQUE_SUSPEND_BASE (0x00000002) +#define NV507E_SET_KEY_COLOR (0x00000104) +#define NV507E_SET_KEY_COLOR_COLOR 31:0 +#define NV507E_SET_KEY_MASK (0x00000108) +#define NV507E_SET_KEY_MASK_MASK 31:0 +#define NV507E_SET_TIMESTAMP_VALUE (0x00000120) +#define NV507E_SET_TIMESTAMP_VALUE_TIMESTAMP 31:0 +#define NV507E_SET_UPDATE_TIMESTAMP (0x00000124) +#define NV507E_SET_UPDATE_TIMESTAMP_TIMESTAMP 31:0 +#define NV507E_SET_SPARE (0x000007BC) +#define NV507E_SET_SPARE_UNUSED 31:0 +#define NV507E_SET_SPARE_NOOP(b) (0x000007C0 + (b)*0x00000004) +#define NV507E_SET_SPARE_NOOP_UNUSED 31:0 + +#define NV507E_SURFACE_SET_OFFSET (0x00000800) +#define NV507E_SURFACE_SET_OFFSET_ORIGIN 31:0 +#define NV507E_SURFACE_SET_SIZE (0x00000808) +#define NV507E_SURFACE_SET_SIZE_WIDTH 14:0 +#define NV507E_SURFACE_SET_SIZE_HEIGHT 30:16 +#define NV507E_SURFACE_SET_STORAGE (0x0000080C) +#define NV507E_SURFACE_SET_STORAGE_BLOCK_HEIGHT 3:0 +#define NV507E_SURFACE_SET_STORAGE_BLOCK_HEIGHT_ONE_GOB (0x00000000) +#define NV507E_SURFACE_SET_STORAGE_BLOCK_HEIGHT_TWO_GOBS (0x00000001) +#define NV507E_SURFACE_SET_STORAGE_BLOCK_HEIGHT_FOUR_GOBS (0x00000002) +#define NV507E_SURFACE_SET_STORAGE_BLOCK_HEIGHT_EIGHT_GOBS (0x00000003) +#define NV507E_SURFACE_SET_STORAGE_BLOCK_HEIGHT_SIXTEEN_GOBS (0x00000004) +#define NV507E_SURFACE_SET_STORAGE_BLOCK_HEIGHT_THIRTYTWO_GOBS (0x00000005) +#define NV507E_SURFACE_SET_STORAGE_PITCH 17:8 +#define NV507E_SURFACE_SET_STORAGE_MEMORY_LAYOUT 20:20 +#define NV507E_SURFACE_SET_STORAGE_MEMORY_LAYOUT_BLOCKLINEAR (0x00000000) +#define NV507E_SURFACE_SET_STORAGE_MEMORY_LAYOUT_PITCH (0x00000001) +#define NV507E_SURFACE_SET_PARAMS (0x00000810) +#define NV507E_SURFACE_SET_PARAMS_FORMAT 15:8 +#define NV507E_SURFACE_SET_PARAMS_FORMAT_VE8YO8UE8YE8 (0x00000028) +#define NV507E_SURFACE_SET_PARAMS_FORMAT_YO8VE8YE8UE8 (0x00000029) +#define NV507E_SURFACE_SET_PARAMS_FORMAT_A8R8G8B8 (0x000000CF) +#define NV507E_SURFACE_SET_PARAMS_FORMAT_A1R5G5B5 (0x000000E9) +#define NV507E_SURFACE_SET_PARAMS_COLOR_SPACE 1:0 +#define NV507E_SURFACE_SET_PARAMS_COLOR_SPACE_RGB (0x00000000) +#define NV507E_SURFACE_SET_PARAMS_COLOR_SPACE_YUV_601 (0x00000001) +#define NV507E_SURFACE_SET_PARAMS_COLOR_SPACE_YUV_709 (0x00000002) +#define NV507E_SURFACE_SET_PARAMS_KIND 22:16 +#define NV507E_SURFACE_SET_PARAMS_KIND_KIND_PITCH (0x00000000) +#define NV507E_SURFACE_SET_PARAMS_KIND_KIND_GENERIC_8BX2 (0x00000070) +#define NV507E_SURFACE_SET_PARAMS_KIND_KIND_GENERIC_8BX2_BANKSWIZ (0x00000072) +#define NV507E_SURFACE_SET_PARAMS_KIND_KIND_GENERIC_16BX1 (0x00000074) +#define NV507E_SURFACE_SET_PARAMS_KIND_KIND_GENERIC_16BX1_BANKSWIZ (0x00000076) +#define NV507E_SURFACE_SET_PARAMS_KIND_KIND_C32_MS4 (0x00000078) +#define NV507E_SURFACE_SET_PARAMS_KIND_KIND_C32_MS8 (0x00000079) +#define NV507E_SURFACE_SET_PARAMS_KIND_KIND_C32_MS4_BANKSWIZ (0x0000007A) +#define NV507E_SURFACE_SET_PARAMS_KIND_KIND_C32_MS8_BANKSWIZ (0x0000007B) +#define NV507E_SURFACE_SET_PARAMS_KIND_KIND_C64_MS4 (0x0000007C) +#define NV507E_SURFACE_SET_PARAMS_KIND_KIND_C64_MS8 (0x0000007D) +#define NV507E_SURFACE_SET_PARAMS_KIND_KIND_C128_MS4 (0x0000007E) +#define NV507E_SURFACE_SET_PARAMS_KIND_FROM_PTE (0x0000007F) +#define NV507E_SURFACE_SET_PARAMS_PART_STRIDE 24:24 +#define NV507E_SURFACE_SET_PARAMS_PART_STRIDE_PARTSTRIDE_256 (0x00000000) +#define NV507E_SURFACE_SET_PARAMS_PART_STRIDE_PARTSTRIDE_1024 (0x00000001) + +#ifdef __cplusplus +}; /* extern "C" */ +#endif +#endif // _cl507e_h + |