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
Kirill Smelkov
linux
Commits
14187b00
Commit
14187b00
authored
7 years ago
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/disp: move vblank_{get,put} methods into nvkm_head
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
a1c93078
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
60 additions
and
99 deletions
+60
-99
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
+8
-4
drivers/gpu/drm/nouveau/nvkm/engine/disp/g84.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/g84.c
+0
-2
drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c
+0
-2
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
+0
-16
drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c
+0
-2
drivers/gpu/drm/nouveau/nvkm/engine/disp/gk110.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/gk110.c
+0
-2
drivers/gpu/drm/nouveau/nvkm/engine/disp/gm107.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/gm107.c
+0
-2
drivers/gpu/drm/nouveau/nvkm/engine/disp/gm200.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/gm200.c
+0
-2
drivers/gpu/drm/nouveau/nvkm/engine/disp/gp100.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/gp100.c
+0
-2
drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c
+0
-2
drivers/gpu/drm/nouveau/nvkm/engine/disp/gt200.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/gt200.c
+0
-2
drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c
+0
-2
drivers/gpu/drm/nouveau/nvkm/engine/disp/head.h
drivers/gpu/drm/nouveau/nvkm/engine/disp/head.h
+2
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/headgf119.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/headgf119.c
+18
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv04.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv04.c
+16
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.c
+16
-0
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv04.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv04.c
+0
-16
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
+0
-32
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h
+0
-6
drivers/gpu/drm/nouveau/nvkm/engine/disp/priv.h
drivers/gpu/drm/nouveau/nvkm/engine/disp/priv.h
+0
-5
No files found.
drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c
View file @
14187b00
...
...
@@ -38,17 +38,21 @@
#include <nvif/unpack.h>
static
void
nvkm_disp_vblank_fini
(
struct
nvkm_event
*
event
,
int
type
,
int
hea
d
)
nvkm_disp_vblank_fini
(
struct
nvkm_event
*
event
,
int
type
,
int
i
d
)
{
struct
nvkm_disp
*
disp
=
container_of
(
event
,
typeof
(
*
disp
),
vblank
);
disp
->
func
->
head
.
vblank_fini
(
disp
,
head
);
struct
nvkm_head
*
head
=
nvkm_head_find
(
disp
,
id
);
if
(
head
)
head
->
func
->
vblank_put
(
head
);
}
static
void
nvkm_disp_vblank_init
(
struct
nvkm_event
*
event
,
int
type
,
int
hea
d
)
nvkm_disp_vblank_init
(
struct
nvkm_event
*
event
,
int
type
,
int
i
d
)
{
struct
nvkm_disp
*
disp
=
container_of
(
event
,
typeof
(
*
disp
),
vblank
);
disp
->
func
->
head
.
vblank_init
(
disp
,
head
);
struct
nvkm_head
*
head
=
nvkm_head_find
(
disp
,
id
);
if
(
head
)
head
->
func
->
vblank_get
(
head
);
}
static
int
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/g84.c
View file @
14187b00
...
...
@@ -32,8 +32,6 @@ g84_disp = {
.
super
=
nv50_disp_super
,
.
root
=
&
g84_disp_root_oclass
,
.
head
.
new
=
nv50_head_new
,
.
head
.
vblank_init
=
nv50_disp_vblank_init
,
.
head
.
vblank_fini
=
nv50_disp_vblank_fini
,
.
head
.
scanoutpos
=
nv50_disp_root_scanoutpos
,
.
outp
.
internal
.
crt
=
nv50_dac_output_new
,
.
outp
.
internal
.
tmds
=
nv50_sor_output_new
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c
View file @
14187b00
...
...
@@ -32,8 +32,6 @@ g94_disp = {
.
super
=
nv50_disp_super
,
.
root
=
&
g94_disp_root_oclass
,
.
head
.
new
=
nv50_head_new
,
.
head
.
vblank_init
=
nv50_disp_vblank_init
,
.
head
.
vblank_fini
=
nv50_disp_vblank_fini
,
.
head
.
scanoutpos
=
nv50_disp_root_scanoutpos
,
.
outp
.
internal
.
crt
=
nv50_dac_output_new
,
.
outp
.
internal
.
tmds
=
nv50_sor_output_new
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/gf119.c
View file @
14187b00
...
...
@@ -31,20 +31,6 @@
#include <subdev/bios/pll.h>
#include <subdev/devinit.h>
void
gf119_disp_vblank_init
(
struct
nv50_disp
*
disp
,
int
head
)
{
struct
nvkm_device
*
device
=
disp
->
base
.
engine
.
subdev
.
device
;
nvkm_mask
(
device
,
0x6100c0
+
(
head
*
0x800
),
0x00000001
,
0x00000001
);
}
void
gf119_disp_vblank_fini
(
struct
nv50_disp
*
disp
,
int
head
)
{
struct
nvkm_device
*
device
=
disp
->
base
.
engine
.
subdev
.
device
;
nvkm_mask
(
device
,
0x6100c0
+
(
head
*
0x800
),
0x00000001
,
0x00000000
);
}
static
struct
nvkm_output
*
exec_lookup
(
struct
nv50_disp
*
disp
,
int
head
,
int
or
,
u32
ctrl
,
u32
*
data
,
u8
*
ver
,
u8
*
hdr
,
u8
*
cnt
,
u8
*
len
,
...
...
@@ -515,8 +501,6 @@ gf119_disp = {
.
super
=
gf119_disp_super
,
.
root
=
&
gf119_disp_root_oclass
,
.
head
.
new
=
gf119_head_new
,
.
head
.
vblank_init
=
gf119_disp_vblank_init
,
.
head
.
vblank_fini
=
gf119_disp_vblank_fini
,
.
head
.
scanoutpos
=
gf119_disp_root_scanoutpos
,
.
outp
.
internal
.
crt
=
nv50_dac_output_new
,
.
outp
.
internal
.
tmds
=
nv50_sor_output_new
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/gk104.c
View file @
14187b00
...
...
@@ -33,8 +33,6 @@ gk104_disp = {
.
super
=
gf119_disp_super
,
.
root
=
&
gk104_disp_root_oclass
,
.
head
.
new
=
gf119_head_new
,
.
head
.
vblank_init
=
gf119_disp_vblank_init
,
.
head
.
vblank_fini
=
gf119_disp_vblank_fini
,
.
head
.
scanoutpos
=
gf119_disp_root_scanoutpos
,
.
outp
.
internal
.
crt
=
nv50_dac_output_new
,
.
outp
.
internal
.
tmds
=
nv50_sor_output_new
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/gk110.c
View file @
14187b00
...
...
@@ -33,8 +33,6 @@ gk110_disp = {
.
super
=
gf119_disp_super
,
.
root
=
&
gk110_disp_root_oclass
,
.
head
.
new
=
gf119_head_new
,
.
head
.
vblank_init
=
gf119_disp_vblank_init
,
.
head
.
vblank_fini
=
gf119_disp_vblank_fini
,
.
head
.
scanoutpos
=
gf119_disp_root_scanoutpos
,
.
outp
.
internal
.
crt
=
nv50_dac_output_new
,
.
outp
.
internal
.
tmds
=
nv50_sor_output_new
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/gm107.c
View file @
14187b00
...
...
@@ -33,8 +33,6 @@ gm107_disp = {
.
super
=
gf119_disp_super
,
.
root
=
&
gm107_disp_root_oclass
,
.
head
.
new
=
gf119_head_new
,
.
head
.
vblank_init
=
gf119_disp_vblank_init
,
.
head
.
vblank_fini
=
gf119_disp_vblank_fini
,
.
head
.
scanoutpos
=
gf119_disp_root_scanoutpos
,
.
outp
.
internal
.
crt
=
nv50_dac_output_new
,
.
outp
.
internal
.
tmds
=
nv50_sor_output_new
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/gm200.c
View file @
14187b00
...
...
@@ -33,8 +33,6 @@ gm200_disp = {
.
super
=
gf119_disp_super
,
.
root
=
&
gm200_disp_root_oclass
,
.
head
.
new
=
gf119_head_new
,
.
head
.
vblank_init
=
gf119_disp_vblank_init
,
.
head
.
vblank_fini
=
gf119_disp_vblank_fini
,
.
head
.
scanoutpos
=
gf119_disp_root_scanoutpos
,
.
outp
.
internal
.
crt
=
nv50_dac_output_new
,
.
outp
.
internal
.
tmds
=
nv50_sor_output_new
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/gp100.c
View file @
14187b00
...
...
@@ -33,8 +33,6 @@ gp100_disp = {
.
super
=
gf119_disp_super
,
.
root
=
&
gp100_disp_root_oclass
,
.
head
.
new
=
gf119_head_new
,
.
head
.
vblank_init
=
gf119_disp_vblank_init
,
.
head
.
vblank_fini
=
gf119_disp_vblank_fini
,
.
head
.
scanoutpos
=
gf119_disp_root_scanoutpos
,
.
outp
.
internal
.
crt
=
nv50_dac_output_new
,
.
outp
.
internal
.
tmds
=
nv50_sor_output_new
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.c
View file @
14187b00
...
...
@@ -59,8 +59,6 @@ gp102_disp = {
.
super
=
gf119_disp_super
,
.
root
=
&
gp102_disp_root_oclass
,
.
head
.
new
=
gf119_head_new
,
.
head
.
vblank_init
=
gf119_disp_vblank_init
,
.
head
.
vblank_fini
=
gf119_disp_vblank_fini
,
.
head
.
scanoutpos
=
gf119_disp_root_scanoutpos
,
.
outp
.
internal
.
crt
=
nv50_dac_output_new
,
.
outp
.
internal
.
tmds
=
nv50_sor_output_new
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/gt200.c
View file @
14187b00
...
...
@@ -32,8 +32,6 @@ gt200_disp = {
.
super
=
nv50_disp_super
,
.
root
=
&
gt200_disp_root_oclass
,
.
head
.
new
=
nv50_head_new
,
.
head
.
vblank_init
=
nv50_disp_vblank_init
,
.
head
.
vblank_fini
=
nv50_disp_vblank_fini
,
.
head
.
scanoutpos
=
nv50_disp_root_scanoutpos
,
.
outp
.
internal
.
crt
=
nv50_dac_output_new
,
.
outp
.
internal
.
tmds
=
nv50_sor_output_new
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c
View file @
14187b00
...
...
@@ -32,8 +32,6 @@ gt215_disp = {
.
super
=
nv50_disp_super
,
.
root
=
&
gt215_disp_root_oclass
,
.
head
.
new
=
nv50_head_new
,
.
head
.
vblank_init
=
nv50_disp_vblank_init
,
.
head
.
vblank_fini
=
nv50_disp_vblank_fini
,
.
head
.
scanoutpos
=
nv50_disp_root_scanoutpos
,
.
outp
.
internal
.
crt
=
nv50_dac_output_new
,
.
outp
.
internal
.
tmds
=
nv50_sor_output_new
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/head.h
View file @
14187b00
...
...
@@ -15,6 +15,8 @@ void nvkm_head_del(struct nvkm_head **);
struct
nvkm_head
*
nvkm_head_find
(
struct
nvkm_disp
*
,
int
id
);
struct
nvkm_head_func
{
void
(
*
vblank_get
)(
struct
nvkm_head
*
);
void
(
*
vblank_put
)(
struct
nvkm_head
*
);
};
#define HEAD_MSG(h,l,f,a...) do { \
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/headgf119.c
View file @
14187b00
...
...
@@ -23,8 +23,26 @@
*/
#include "head.h"
static
void
gf119_head_vblank_put
(
struct
nvkm_head
*
head
)
{
struct
nvkm_device
*
device
=
head
->
disp
->
engine
.
subdev
.
device
;
const
u32
hoff
=
head
->
id
*
0x800
;
nvkm_mask
(
device
,
0x6100c0
+
hoff
,
0x00000001
,
0x00000000
);
}
static
void
gf119_head_vblank_get
(
struct
nvkm_head
*
head
)
{
struct
nvkm_device
*
device
=
head
->
disp
->
engine
.
subdev
.
device
;
const
u32
hoff
=
head
->
id
*
0x800
;
nvkm_mask
(
device
,
0x6100c0
+
hoff
,
0x00000001
,
0x00000001
);
}
static
const
struct
nvkm_head_func
gf119_head
=
{
.
vblank_get
=
gf119_head_vblank_get
,
.
vblank_put
=
gf119_head_vblank_put
,
};
int
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv04.c
View file @
14187b00
...
...
@@ -23,8 +23,24 @@
*/
#include "head.h"
static
void
nv04_head_vblank_put
(
struct
nvkm_head
*
head
)
{
struct
nvkm_device
*
device
=
head
->
disp
->
engine
.
subdev
.
device
;
nvkm_wr32
(
device
,
0x600140
+
(
head
->
id
*
0x2000
)
,
0x00000000
);
}
static
void
nv04_head_vblank_get
(
struct
nvkm_head
*
head
)
{
struct
nvkm_device
*
device
=
head
->
disp
->
engine
.
subdev
.
device
;
nvkm_wr32
(
device
,
0x600140
+
(
head
->
id
*
0x2000
)
,
0x00000001
);
}
static
const
struct
nvkm_head_func
nv04_head
=
{
.
vblank_get
=
nv04_head_vblank_get
,
.
vblank_put
=
nv04_head_vblank_put
,
};
int
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.c
View file @
14187b00
...
...
@@ -23,8 +23,24 @@
*/
#include "head.h"
static
void
nv50_head_vblank_put
(
struct
nvkm_head
*
head
)
{
struct
nvkm_device
*
device
=
head
->
disp
->
engine
.
subdev
.
device
;
nvkm_mask
(
device
,
0x61002c
,
(
4
<<
head
->
id
),
0
);
}
static
void
nv50_head_vblank_get
(
struct
nvkm_head
*
head
)
{
struct
nvkm_device
*
device
=
head
->
disp
->
engine
.
subdev
.
device
;
nvkm_mask
(
device
,
0x61002c
,
(
4
<<
head
->
id
),
(
4
<<
head
->
id
));
}
static
const
struct
nvkm_head_func
nv50_head
=
{
.
vblank_get
=
nv50_head_vblank_get
,
.
vblank_put
=
nv50_head_vblank_put
,
};
int
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv04.c
View file @
14187b00
...
...
@@ -30,20 +30,6 @@ nv04_disp_root(struct nvkm_disp *disp)
return
&
nv04_disp_root_oclass
;
}
static
void
nv04_disp_vblank_init
(
struct
nvkm_disp
*
disp
,
int
head
)
{
struct
nvkm_device
*
device
=
disp
->
engine
.
subdev
.
device
;
nvkm_wr32
(
device
,
0x600140
+
(
head
*
0x2000
)
,
0x00000001
);
}
static
void
nv04_disp_vblank_fini
(
struct
nvkm_disp
*
disp
,
int
head
)
{
struct
nvkm_device
*
device
=
disp
->
engine
.
subdev
.
device
;
nvkm_wr32
(
device
,
0x600140
+
(
head
*
0x2000
)
,
0x00000000
);
}
static
void
nv04_disp_intr
(
struct
nvkm_disp
*
disp
)
{
...
...
@@ -75,8 +61,6 @@ static const struct nvkm_disp_func
nv04_disp
=
{
.
intr
=
nv04_disp_intr
,
.
root
=
nv04_disp_root
,
.
head
.
vblank_init
=
nv04_disp_vblank_init
,
.
head
.
vblank_fini
=
nv04_disp_vblank_fini
,
};
int
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c
View file @
14187b00
...
...
@@ -98,20 +98,6 @@ nv50_disp_outp_external_dp_(struct nvkm_disp *base, int index,
return
-
ENODEV
;
}
static
void
nv50_disp_vblank_fini_
(
struct
nvkm_disp
*
base
,
int
head
)
{
struct
nv50_disp
*
disp
=
nv50_disp
(
base
);
disp
->
func
->
head
.
vblank_fini
(
disp
,
head
);
}
static
void
nv50_disp_vblank_init_
(
struct
nvkm_disp
*
base
,
int
head
)
{
struct
nv50_disp
*
disp
=
nv50_disp
(
base
);
disp
->
func
->
head
.
vblank_init
(
disp
,
head
);
}
static
void
nv50_disp_intr_
(
struct
nvkm_disp
*
base
)
{
...
...
@@ -138,8 +124,6 @@ nv50_disp_ = {
.
outp
.
internal
.
dp
=
nv50_disp_outp_internal_dp_
,
.
outp
.
external
.
tmds
=
nv50_disp_outp_external_tmds_
,
.
outp
.
external
.
dp
=
nv50_disp_outp_external_dp_
,
.
head
.
vblank_init
=
nv50_disp_vblank_init_
,
.
head
.
vblank_fini
=
nv50_disp_vblank_fini_
,
};
int
...
...
@@ -168,20 +152,6 @@ nv50_disp_new_(const struct nv50_disp_func *func, struct nvkm_device *device,
return
nvkm_event_init
(
func
->
uevent
,
1
,
1
+
(
heads
*
4
),
&
disp
->
uevent
);
}
void
nv50_disp_vblank_fini
(
struct
nv50_disp
*
disp
,
int
head
)
{
struct
nvkm_device
*
device
=
disp
->
base
.
engine
.
subdev
.
device
;
nvkm_mask
(
device
,
0x61002c
,
(
4
<<
head
),
0
);
}
void
nv50_disp_vblank_init
(
struct
nv50_disp
*
disp
,
int
head
)
{
struct
nvkm_device
*
device
=
disp
->
base
.
engine
.
subdev
.
device
;
nvkm_mask
(
device
,
0x61002c
,
(
4
<<
head
),
(
4
<<
head
));
}
static
struct
nvkm_output
*
exec_lookup
(
struct
nv50_disp
*
disp
,
int
head
,
int
or
,
u32
ctrl
,
u32
*
data
,
u8
*
ver
,
u8
*
hdr
,
u8
*
cnt
,
u8
*
len
,
...
...
@@ -827,8 +797,6 @@ nv50_disp = {
.
super
=
nv50_disp_super
,
.
root
=
&
nv50_disp_root_oclass
,
.
head
.
new
=
nv50_head_new
,
.
head
.
vblank_init
=
nv50_disp_vblank_init
,
.
head
.
vblank_fini
=
nv50_disp_vblank_fini
,
.
head
.
scanoutpos
=
nv50_disp_root_scanoutpos
,
.
outp
.
internal
.
crt
=
nv50_dac_output_new
,
.
outp
.
internal
.
tmds
=
nv50_sor_output_new
,
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.h
View file @
14187b00
...
...
@@ -76,8 +76,6 @@ struct nv50_disp_func {
struct
{
int
(
*
new
)(
struct
nvkm_disp
*
,
int
id
);
void
(
*
vblank_init
)(
struct
nv50_disp
*
,
int
head
);
void
(
*
vblank_fini
)(
struct
nv50_disp
*
,
int
head
);
int
(
*
scanoutpos
)(
NV50_DISP_MTHD_V0
);
}
head
;
...
...
@@ -106,13 +104,9 @@ struct nv50_disp_func {
}
pior
;
};
void
nv50_disp_vblank_init
(
struct
nv50_disp
*
,
int
);
void
nv50_disp_vblank_fini
(
struct
nv50_disp
*
,
int
);
void
nv50_disp_intr
(
struct
nv50_disp
*
);
void
nv50_disp_super
(
struct
work_struct
*
);
void
gf119_disp_vblank_init
(
struct
nv50_disp
*
,
int
);
void
gf119_disp_vblank_fini
(
struct
nv50_disp
*
,
int
);
void
gf119_disp_intr
(
struct
nv50_disp
*
);
void
gf119_disp_super
(
struct
work_struct
*
);
void
gf119_disp_intr_error
(
struct
nv50_disp
*
,
int
);
...
...
This diff is collapsed.
Click to expand it.
drivers/gpu/drm/nouveau/nvkm/engine/disp/priv.h
View file @
14187b00
...
...
@@ -28,11 +28,6 @@ struct nvkm_disp_func {
const
struct
nvkm_disp_oclass
*
(
*
root
)(
struct
nvkm_disp
*
);
struct
{
void
(
*
vblank_init
)(
struct
nvkm_disp
*
,
int
head
);
void
(
*
vblank_fini
)(
struct
nvkm_disp
*
,
int
head
);
}
head
;
struct
{
const
struct
nvkm_disp_func_outp
internal
;
const
struct
nvkm_disp_func_outp
external
;
...
...
This diff is collapsed.
Click to expand it.
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