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
cfb083f6
Commit
cfb083f6
authored
Jul 09, 2016
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/core: recognise GP104 chipset
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
ac24b4df
Changes
1
Hide 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 @
cfb083f6
...
@@ -2181,6 +2181,11 @@ nv130_chipset = {
...
@@ -2181,6 +2181,11 @@ nv130_chipset = {
.
sw
=
gf100_sw_new
,
.
sw
=
gf100_sw_new
,
};
};
static
const
struct
nvkm_device_chip
nv134_chipset
=
{
.
name
=
"GP104"
,
};
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
)
...
@@ -2615,6 +2620,7 @@ nvkm_device_ctor(const struct nvkm_device_func *func,
...
@@ -2615,6 +2620,7 @@ nvkm_device_ctor(const struct nvkm_device_func *func,
case
0x126
:
device
->
chip
=
&
nv126_chipset
;
break
;
case
0x126
:
device
->
chip
=
&
nv126_chipset
;
break
;
case
0x12b
:
device
->
chip
=
&
nv12b_chipset
;
break
;
case
0x12b
:
device
->
chip
=
&
nv12b_chipset
;
break
;
case
0x130
:
device
->
chip
=
&
nv130_chipset
;
break
;
case
0x130
:
device
->
chip
=
&
nv130_chipset
;
break
;
case
0x134
:
device
->
chip
=
&
nv134_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