Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
53a6df77
Commit
53a6df77
authored
Nov 08, 2015
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/nvif: split out fermi interface definitions
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
08f7633c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
54 deletions
+53
-54
drivers/gpu/drm/nouveau/include/nvif/cl9097.h
drivers/gpu/drm/nouveau/include/nvif/cl9097.h
+44
-0
drivers/gpu/drm/nouveau/include/nvif/class.h
drivers/gpu/drm/nouveau/include/nvif/class.h
+8
-54
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
+1
-0
No files found.
drivers/gpu/drm/nouveau/include/nvif/cl9097.h
0 → 100644
View file @
53a6df77
#ifndef __NVIF_CL9097_H__
#define __NVIF_CL9097_H__
#define FERMI_A_ZBC_COLOR 0x00
#define FERMI_A_ZBC_DEPTH 0x01
struct
fermi_a_zbc_color_v0
{
__u8
version
;
#define FERMI_A_ZBC_COLOR_V0_FMT_ZERO 0x01
#define FERMI_A_ZBC_COLOR_V0_FMT_UNORM_ONE 0x02
#define FERMI_A_ZBC_COLOR_V0_FMT_RF32_GF32_BF32_AF32 0x04
#define FERMI_A_ZBC_COLOR_V0_FMT_R16_G16_B16_A16 0x08
#define FERMI_A_ZBC_COLOR_V0_FMT_RN16_GN16_BN16_AN16 0x0c
#define FERMI_A_ZBC_COLOR_V0_FMT_RS16_GS16_BS16_AS16 0x10
#define FERMI_A_ZBC_COLOR_V0_FMT_RU16_GU16_BU16_AU16 0x14
#define FERMI_A_ZBC_COLOR_V0_FMT_RF16_GF16_BF16_AF16 0x16
#define FERMI_A_ZBC_COLOR_V0_FMT_A8R8G8B8 0x18
#define FERMI_A_ZBC_COLOR_V0_FMT_A8RL8GL8BL8 0x1c
#define FERMI_A_ZBC_COLOR_V0_FMT_A2B10G10R10 0x20
#define FERMI_A_ZBC_COLOR_V0_FMT_AU2BU10GU10RU10 0x24
#define FERMI_A_ZBC_COLOR_V0_FMT_A8B8G8R8 0x28
#define FERMI_A_ZBC_COLOR_V0_FMT_A8BL8GL8RL8 0x2c
#define FERMI_A_ZBC_COLOR_V0_FMT_AN8BN8GN8RN8 0x30
#define FERMI_A_ZBC_COLOR_V0_FMT_AS8BS8GS8RS8 0x34
#define FERMI_A_ZBC_COLOR_V0_FMT_AU8BU8GU8RU8 0x38
#define FERMI_A_ZBC_COLOR_V0_FMT_A2R10G10B10 0x3c
#define FERMI_A_ZBC_COLOR_V0_FMT_BF10GF11RF11 0x40
__u8
format
;
__u8
index
;
__u8
pad03
[
5
];
__u32
ds
[
4
];
__u32
l2
[
4
];
};
struct
fermi_a_zbc_depth_v0
{
__u8
version
;
#define FERMI_A_ZBC_DEPTH_V0_FMT_FP32 0x01
__u8
format
;
__u8
index
;
__u8
pad03
[
5
];
__u32
ds
;
__u32
l2
;
};
#endif
drivers/gpu/drm/nouveau/include/nvif/class.h
View file @
53a6df77
...
@@ -93,16 +93,16 @@
...
@@ -93,16 +93,16 @@
#define GF110_DISP_OVERLAY_CONTROL_DMA 0x0000907e
#define GF110_DISP_OVERLAY_CONTROL_DMA 0x0000907e
#define GK104_DISP_OVERLAY_CONTROL_DMA 0x0000917e
#define GK104_DISP_OVERLAY_CONTROL_DMA 0x0000917e
#define FERMI_A
0x00009097
#define FERMI_A
/* cl9097.h */
0x00009097
#define FERMI_B
0x00009197
#define FERMI_B
/* cl9097.h */
0x00009197
#define FERMI_C
0x00009297
#define FERMI_C
/* cl9097.h */
0x00009297
#define KEPLER_A
0x0000a097
#define KEPLER_A
/* cl9097.h */
0x0000a097
#define KEPLER_B
0x0000a197
#define KEPLER_B
/* cl9097.h */
0x0000a197
#define KEPLER_C
0x0000a297
#define KEPLER_C
/* cl9097.h */
0x0000a297
#define MAXWELL_A
0x0000b097
#define MAXWELL_A
/* cl9097.h */
0x0000b097
#define MAXWELL_B
0x0000b197
#define MAXWELL_B
/* cl9097.h */
0x0000b197
#define NV74_BSP 0x000074b0
#define NV74_BSP 0x000074b0
...
@@ -628,50 +628,4 @@ struct nv04_nvsw_get_ref_v0 {
...
@@ -628,50 +628,4 @@ struct nv04_nvsw_get_ref_v0 {
__u8
pad01
[
3
];
__u8
pad01
[
3
];
__u32
ref
;
__u32
ref
;
};
};
/*******************************************************************************
* fermi
******************************************************************************/
#define FERMI_A_ZBC_COLOR 0x00
#define FERMI_A_ZBC_DEPTH 0x01
struct
fermi_a_zbc_color_v0
{
__u8
version
;
#define FERMI_A_ZBC_COLOR_V0_FMT_ZERO 0x01
#define FERMI_A_ZBC_COLOR_V0_FMT_UNORM_ONE 0x02
#define FERMI_A_ZBC_COLOR_V0_FMT_RF32_GF32_BF32_AF32 0x04
#define FERMI_A_ZBC_COLOR_V0_FMT_R16_G16_B16_A16 0x08
#define FERMI_A_ZBC_COLOR_V0_FMT_RN16_GN16_BN16_AN16 0x0c
#define FERMI_A_ZBC_COLOR_V0_FMT_RS16_GS16_BS16_AS16 0x10
#define FERMI_A_ZBC_COLOR_V0_FMT_RU16_GU16_BU16_AU16 0x14
#define FERMI_A_ZBC_COLOR_V0_FMT_RF16_GF16_BF16_AF16 0x16
#define FERMI_A_ZBC_COLOR_V0_FMT_A8R8G8B8 0x18
#define FERMI_A_ZBC_COLOR_V0_FMT_A8RL8GL8BL8 0x1c
#define FERMI_A_ZBC_COLOR_V0_FMT_A2B10G10R10 0x20
#define FERMI_A_ZBC_COLOR_V0_FMT_AU2BU10GU10RU10 0x24
#define FERMI_A_ZBC_COLOR_V0_FMT_A8B8G8R8 0x28
#define FERMI_A_ZBC_COLOR_V0_FMT_A8BL8GL8RL8 0x2c
#define FERMI_A_ZBC_COLOR_V0_FMT_AN8BN8GN8RN8 0x30
#define FERMI_A_ZBC_COLOR_V0_FMT_AS8BS8GS8RS8 0x34
#define FERMI_A_ZBC_COLOR_V0_FMT_AU8BU8GU8RU8 0x38
#define FERMI_A_ZBC_COLOR_V0_FMT_A2R10G10B10 0x3c
#define FERMI_A_ZBC_COLOR_V0_FMT_BF10GF11RF11 0x40
__u8
format
;
__u8
index
;
__u8
pad03
[
5
];
__u32
ds
[
4
];
__u32
l2
[
4
];
};
struct
fermi_a_zbc_depth_v0
{
__u8
version
;
#define FERMI_A_ZBC_DEPTH_V0_FMT_FP32 0x01
__u8
format
;
__u8
index
;
__u8
pad03
[
5
];
__u32
ds
;
__u32
l2
;
};
#endif
#endif
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
View file @
53a6df77
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
#include <engine/fifo.h>
#include <engine/fifo.h>
#include <nvif/class.h>
#include <nvif/class.h>
#include <nvif/cl9097.h>
#include <nvif/unpack.h>
#include <nvif/unpack.h>
/*******************************************************************************
/*******************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment