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
f9e20294
Commit
f9e20294
authored
Apr 21, 2016
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/core: recognise GM108 chipsets
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
00f50c66
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
+35
-0
No files found.
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
View file @
f9e20294
...
...
@@ -1988,6 +1988,40 @@ nv117_chipset = {
.
sw
=
gf100_sw_new
,
};
static
const
struct
nvkm_device_chip
nv118_chipset
=
{
.
name
=
"GM108"
,
.
bar
=
gf100_bar_new
,
.
bios
=
nvkm_bios_new
,
.
bus
=
gf100_bus_new
,
.
clk
=
gk104_clk_new
,
.
devinit
=
gm107_devinit_new
,
.
fb
=
gm107_fb_new
,
.
fuse
=
gm107_fuse_new
,
.
gpio
=
gk104_gpio_new
,
.
i2c
=
gf119_i2c_new
,
.
ibus
=
gk104_ibus_new
,
.
iccsense
=
gf100_iccsense_new
,
.
imem
=
nv50_instmem_new
,
.
ltc
=
gm107_ltc_new
,
.
mc
=
gk20a_mc_new
,
.
mmu
=
gf100_mmu_new
,
.
mxm
=
nv50_mxm_new
,
.
pci
=
gk104_pci_new
,
.
pmu
=
gm107_pmu_new
,
.
therm
=
gm107_therm_new
,
.
timer
=
gk20a_timer_new
,
.
top
=
gk104_top_new
,
.
volt
=
gk104_volt_new
,
.
ce
[
0
]
=
gm107_ce_new
,
.
ce
[
2
]
=
gm107_ce_new
,
.
disp
=
gm107_disp_new
,
.
dma
=
gf119_dma_new
,
.
fifo
=
gm107_fifo_new
,
.
gr
=
gm107_gr_new
,
.
sw
=
gf100_sw_new
,
};
static
const
struct
nvkm_device_chip
nv120_chipset
=
{
.
name
=
"GM200"
,
...
...
@@ -2537,6 +2571,7 @@ nvkm_device_ctor(const struct nvkm_device_func *func,
case
0x106
:
device
->
chip
=
&
nv106_chipset
;
break
;
case
0x108
:
device
->
chip
=
&
nv108_chipset
;
break
;
case
0x117
:
device
->
chip
=
&
nv117_chipset
;
break
;
case
0x118
:
device
->
chip
=
&
nv118_chipset
;
break
;
case
0x120
:
device
->
chip
=
&
nv120_chipset
;
break
;
case
0x124
:
device
->
chip
=
&
nv124_chipset
;
break
;
case
0x126
:
device
->
chip
=
&
nv126_chipset
;
break
;
...
...
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