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
2cc0d7c0
Commit
2cc0d7c0
authored
Dec 11, 2018
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/core: recognise TU106
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
2d583ade
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
+6
-0
No files found.
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
View file @
2cc0d7c0
...
@@ -2466,6 +2466,11 @@ nv164_chipset = {
...
@@ -2466,6 +2466,11 @@ nv164_chipset = {
.
fifo
=
tu104_fifo_new
,
.
fifo
=
tu104_fifo_new
,
};
};
static
const
struct
nvkm_device_chip
nv166_chipset
=
{
.
name
=
"TU106"
,
};
static
int
static
int
nvkm_device_event_ctor
(
struct
nvkm_object
*
object
,
void
*
data
,
u32
size
,
nvkm_device_event_ctor
(
struct
nvkm_object
*
object
,
void
*
data
,
u32
size
,
struct
nvkm_notify
*
notify
)
struct
nvkm_notify
*
notify
)
...
@@ -2919,6 +2924,7 @@ nvkm_device_ctor(const struct nvkm_device_func *func,
...
@@ -2919,6 +2924,7 @@ nvkm_device_ctor(const struct nvkm_device_func *func,
case
0x13b
:
device
->
chip
=
&
nv13b_chipset
;
break
;
case
0x13b
:
device
->
chip
=
&
nv13b_chipset
;
break
;
case
0x140
:
device
->
chip
=
&
nv140_chipset
;
break
;
case
0x140
:
device
->
chip
=
&
nv140_chipset
;
break
;
case
0x164
:
device
->
chip
=
&
nv164_chipset
;
break
;
case
0x164
:
device
->
chip
=
&
nv164_chipset
;
break
;
case
0x166
:
device
->
chip
=
&
nv166_chipset
;
break
;
default:
default:
nvdev_error
(
device
,
"unknown chipset (%08x)
\n
"
,
boot0
);
nvdev_error
(
device
,
"unknown chipset (%08x)
\n
"
,
boot0
);
goto
done
;
goto
done
;
...
...
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