Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
b8407c9e
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
b8407c9e
编写于
5月 17, 2014
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau/disp/dp: create subclass for dp outputs
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
456b0579
变更
16
隐藏空白更改
内联
并排
Showing
16 changed file
with
265 addition
and
9 deletion
+265
-9
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/Makefile
+1
-0
drivers/gpu/drm/nouveau/core/engine/disp/gm107.c
drivers/gpu/drm/nouveau/core/engine/disp/gm107.c
+1
-0
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
+7
-0
drivers/gpu/drm/nouveau/core/engine/disp/nv50.h
drivers/gpu/drm/nouveau/core/engine/disp/nv50.h
+10
-0
drivers/gpu/drm/nouveau/core/engine/disp/nv84.c
drivers/gpu/drm/nouveau/core/engine/disp/nv84.c
+1
-0
drivers/gpu/drm/nouveau/core/engine/disp/nv94.c
drivers/gpu/drm/nouveau/core/engine/disp/nv94.c
+8
-0
drivers/gpu/drm/nouveau/core/engine/disp/nva0.c
drivers/gpu/drm/nouveau/core/engine/disp/nva0.c
+1
-0
drivers/gpu/drm/nouveau/core/engine/disp/nva3.c
drivers/gpu/drm/nouveau/core/engine/disp/nva3.c
+1
-0
drivers/gpu/drm/nouveau/core/engine/disp/nvd0.c
drivers/gpu/drm/nouveau/core/engine/disp/nvd0.c
+7
-0
drivers/gpu/drm/nouveau/core/engine/disp/nve0.c
drivers/gpu/drm/nouveau/core/engine/disp/nve0.c
+1
-0
drivers/gpu/drm/nouveau/core/engine/disp/nvf0.c
drivers/gpu/drm/nouveau/core/engine/disp/nvf0.c
+1
-0
drivers/gpu/drm/nouveau/core/engine/disp/outpdp.c
drivers/gpu/drm/nouveau/core/engine/disp/outpdp.c
+144
-0
drivers/gpu/drm/nouveau/core/engine/disp/outpdp.h
drivers/gpu/drm/nouveau/core/engine/disp/outpdp.h
+49
-0
drivers/gpu/drm/nouveau/core/engine/disp/piornv50.c
drivers/gpu/drm/nouveau/core/engine/disp/piornv50.c
+10
-9
drivers/gpu/drm/nouveau/core/engine/disp/sornv94.c
drivers/gpu/drm/nouveau/core/engine/disp/sornv94.c
+12
-0
drivers/gpu/drm/nouveau/core/engine/disp/sornvd0.c
drivers/gpu/drm/nouveau/core/engine/disp/sornvd0.c
+11
-0
未找到文件。
drivers/gpu/drm/nouveau/Makefile
浏览文件 @
b8407c9e
...
...
@@ -224,6 +224,7 @@ nouveau-y += core/engine/device/gm100.o
nouveau-y
+=
core/engine/disp/base.o
nouveau-y
+=
core/engine/disp/conn.o
nouveau-y
+=
core/engine/disp/outp.o
nouveau-y
+=
core/engine/disp/outpdp.o
nouveau-y
+=
core/engine/disp/nv04.o
nouveau-y
+=
core/engine/disp/nv50.o
nouveau-y
+=
core/engine/disp/nv84.o
...
...
drivers/gpu/drm/nouveau/core/engine/disp/gm107.c
浏览文件 @
b8407c9e
...
...
@@ -94,6 +94,7 @@ gm107_disp_oclass = &(struct nv50_disp_impl) {
.
init
=
_nouveau_disp_init
,
.
fini
=
_nouveau_disp_fini
,
},
.
base
.
outp
=
nvd0_disp_outp_sclass
,
.
mthd
.
core
=
&
nve0_disp_mast_mthd_chan
,
.
mthd
.
base
=
&
nvd0_disp_sync_mthd_chan
,
.
mthd
.
ovly
=
&
nve0_disp_ovly_mthd_chan
,
...
...
drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
浏览文件 @
b8407c9e
...
...
@@ -1660,6 +1660,12 @@ nv50_disp_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
return
0
;
}
struct
nouveau_oclass
*
nv50_disp_outp_sclass
[]
=
{
&
nv50_pior_dp_impl
.
base
.
base
,
NULL
};
struct
nouveau_oclass
*
nv50_disp_oclass
=
&
(
struct
nv50_disp_impl
)
{
.
base
.
base
.
handle
=
NV_ENGINE
(
DISP
,
0x50
),
...
...
@@ -1669,6 +1675,7 @@ nv50_disp_oclass = &(struct nv50_disp_impl) {
.
init
=
_nouveau_disp_init
,
.
fini
=
_nouveau_disp_fini
,
},
.
base
.
outp
=
nv50_disp_outp_sclass
,
.
mthd
.
core
=
&
nv50_disp_mast_mthd_chan
,
.
mthd
.
base
=
&
nv50_disp_sync_mthd_chan
,
.
mthd
.
ovly
=
&
nv50_disp_ovly_mthd_chan
,
...
...
drivers/gpu/drm/nouveau/core/engine/disp/nv50.h
浏览文件 @
b8407c9e
...
...
@@ -12,6 +12,7 @@
#include "dport.h"
#include "priv.h"
#include "outp.h"
#include "outpdp.h"
struct
nv50_disp_impl
{
struct
nouveau_disp_impl
base
;
...
...
@@ -200,4 +201,13 @@ void nvd0_disp_intr(struct nouveau_subdev *);
extern
const
struct
nv50_disp_mthd_chan
nve0_disp_mast_mthd_chan
;
extern
const
struct
nv50_disp_mthd_chan
nve0_disp_ovly_mthd_chan
;
extern
struct
nvkm_output_dp_impl
nv50_pior_dp_impl
;
extern
struct
nouveau_oclass
*
nv50_disp_outp_sclass
[];
extern
struct
nvkm_output_dp_impl
nv94_sor_dp_impl
;
extern
struct
nouveau_oclass
*
nv94_disp_outp_sclass
[];
extern
struct
nvkm_output_dp_impl
nvd0_sor_dp_impl
;
extern
struct
nouveau_oclass
*
nvd0_disp_outp_sclass
[];
#endif
drivers/gpu/drm/nouveau/core/engine/disp/nv84.c
浏览文件 @
b8407c9e
...
...
@@ -277,6 +277,7 @@ nv84_disp_oclass = &(struct nv50_disp_impl) {
.
init
=
_nouveau_disp_init
,
.
fini
=
_nouveau_disp_fini
,
},
.
base
.
outp
=
nv50_disp_outp_sclass
,
.
mthd
.
core
=
&
nv84_disp_mast_mthd_chan
,
.
mthd
.
base
=
&
nv84_disp_sync_mthd_chan
,
.
mthd
.
ovly
=
&
nv84_disp_ovly_mthd_chan
,
...
...
drivers/gpu/drm/nouveau/core/engine/disp/nv94.c
浏览文件 @
b8407c9e
...
...
@@ -128,6 +128,13 @@ nv94_disp_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
return
0
;
}
struct
nouveau_oclass
*
nv94_disp_outp_sclass
[]
=
{
&
nv50_pior_dp_impl
.
base
.
base
,
&
nv94_sor_dp_impl
.
base
.
base
,
NULL
};
struct
nouveau_oclass
*
nv94_disp_oclass
=
&
(
struct
nv50_disp_impl
)
{
.
base
.
base
.
handle
=
NV_ENGINE
(
DISP
,
0x88
),
...
...
@@ -137,6 +144,7 @@ nv94_disp_oclass = &(struct nv50_disp_impl) {
.
init
=
_nouveau_disp_init
,
.
fini
=
_nouveau_disp_fini
,
},
.
base
.
outp
=
nv94_disp_outp_sclass
,
.
mthd
.
core
=
&
nv94_disp_mast_mthd_chan
,
.
mthd
.
base
=
&
nv84_disp_sync_mthd_chan
,
.
mthd
.
ovly
=
&
nv84_disp_ovly_mthd_chan
,
...
...
drivers/gpu/drm/nouveau/core/engine/disp/nva0.c
浏览文件 @
b8407c9e
...
...
@@ -139,6 +139,7 @@ nva0_disp_oclass = &(struct nv50_disp_impl) {
.
init
=
_nouveau_disp_init
,
.
fini
=
_nouveau_disp_fini
,
},
.
base
.
outp
=
nv50_disp_outp_sclass
,
.
mthd
.
core
=
&
nv84_disp_mast_mthd_chan
,
.
mthd
.
base
=
&
nv84_disp_sync_mthd_chan
,
.
mthd
.
ovly
=
&
nva0_disp_ovly_mthd_chan
,
...
...
drivers/gpu/drm/nouveau/core/engine/disp/nva3.c
浏览文件 @
b8407c9e
...
...
@@ -111,6 +111,7 @@ nva3_disp_oclass = &(struct nv50_disp_impl) {
.
init
=
_nouveau_disp_init
,
.
fini
=
_nouveau_disp_fini
,
},
.
base
.
outp
=
nv94_disp_outp_sclass
,
.
mthd
.
core
=
&
nv94_disp_mast_mthd_chan
,
.
mthd
.
base
=
&
nv84_disp_sync_mthd_chan
,
.
mthd
.
ovly
=
&
nv84_disp_ovly_mthd_chan
,
...
...
drivers/gpu/drm/nouveau/core/engine/disp/nvd0.c
浏览文件 @
b8407c9e
...
...
@@ -1356,6 +1356,12 @@ nvd0_disp_ctor(struct nouveau_object *parent, struct nouveau_object *engine,
return
0
;
}
struct
nouveau_oclass
*
nvd0_disp_outp_sclass
[]
=
{
&
nvd0_sor_dp_impl
.
base
.
base
,
NULL
};
struct
nouveau_oclass
*
nvd0_disp_oclass
=
&
(
struct
nv50_disp_impl
)
{
.
base
.
base
.
handle
=
NV_ENGINE
(
DISP
,
0x90
),
...
...
@@ -1365,6 +1371,7 @@ nvd0_disp_oclass = &(struct nv50_disp_impl) {
.
init
=
_nouveau_disp_init
,
.
fini
=
_nouveau_disp_fini
,
},
.
base
.
outp
=
nvd0_disp_outp_sclass
,
.
mthd
.
core
=
&
nvd0_disp_mast_mthd_chan
,
.
mthd
.
base
=
&
nvd0_disp_sync_mthd_chan
,
.
mthd
.
ovly
=
&
nvd0_disp_ovly_mthd_chan
,
...
...
drivers/gpu/drm/nouveau/core/engine/disp/nve0.c
浏览文件 @
b8407c9e
...
...
@@ -259,6 +259,7 @@ nve0_disp_oclass = &(struct nv50_disp_impl) {
.
init
=
_nouveau_disp_init
,
.
fini
=
_nouveau_disp_fini
,
},
.
base
.
outp
=
nvd0_disp_outp_sclass
,
.
mthd
.
core
=
&
nve0_disp_mast_mthd_chan
,
.
mthd
.
base
=
&
nvd0_disp_sync_mthd_chan
,
.
mthd
.
ovly
=
&
nve0_disp_ovly_mthd_chan
,
...
...
drivers/gpu/drm/nouveau/core/engine/disp/nvf0.c
浏览文件 @
b8407c9e
...
...
@@ -94,6 +94,7 @@ nvf0_disp_oclass = &(struct nv50_disp_impl) {
.
init
=
_nouveau_disp_init
,
.
fini
=
_nouveau_disp_fini
,
},
.
base
.
outp
=
nvd0_disp_outp_sclass
,
.
mthd
.
core
=
&
nve0_disp_mast_mthd_chan
,
.
mthd
.
base
=
&
nvd0_disp_sync_mthd_chan
,
.
mthd
.
ovly
=
&
nve0_disp_ovly_mthd_chan
,
...
...
drivers/gpu/drm/nouveau/core/engine/disp/outpdp.c
0 → 100644
浏览文件 @
b8407c9e
/*
* Copyright 2014 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
* and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
* Authors: Ben Skeggs
*/
#include <subdev/i2c.h>
#include "outpdp.h"
#include "conn.h"
static
int
nvkm_output_dp_service
(
void
*
data
,
u32
type
,
int
index
)
{
struct
nvkm_output_dp
*
outp
=
data
;
DBG
(
"IRQ: %d
\n
"
,
type
);
return
NVKM_EVENT_KEEP
;
}
static
int
nvkm_output_dp_hotplug
(
void
*
data
,
u32
type
,
int
index
)
{
struct
nvkm_output_dp
*
outp
=
data
;
DBG
(
"HPD: %d
\n
"
,
type
);
return
NVKM_EVENT_KEEP
;
}
int
_nvkm_output_dp_fini
(
struct
nouveau_object
*
object
,
bool
suspend
)
{
struct
nvkm_output_dp
*
outp
=
(
void
*
)
object
;
nouveau_event_put
(
outp
->
irq
);
return
nvkm_output_fini
(
&
outp
->
base
,
suspend
);
}
int
_nvkm_output_dp_init
(
struct
nouveau_object
*
object
)
{
struct
nvkm_output_dp
*
outp
=
(
void
*
)
object
;
return
nvkm_output_init
(
&
outp
->
base
);
}
void
_nvkm_output_dp_dtor
(
struct
nouveau_object
*
object
)
{
struct
nvkm_output_dp
*
outp
=
(
void
*
)
object
;
nouveau_event_ref
(
NULL
,
&
outp
->
irq
);
nvkm_output_destroy
(
&
outp
->
base
);
}
int
nvkm_output_dp_create_
(
struct
nouveau_object
*
parent
,
struct
nouveau_object
*
engine
,
struct
nouveau_oclass
*
oclass
,
struct
dcb_output
*
info
,
int
index
,
int
length
,
void
**
pobject
)
{
struct
nouveau_bios
*
bios
=
nouveau_bios
(
parent
);
struct
nouveau_i2c
*
i2c
=
nouveau_i2c
(
parent
);
struct
nvkm_output_dp
*
outp
;
u8
hdr
,
cnt
,
len
;
u32
data
;
int
ret
;
ret
=
nvkm_output_create_
(
parent
,
engine
,
oclass
,
info
,
index
,
length
,
pobject
);
outp
=
*
pobject
;
if
(
ret
)
return
ret
;
nouveau_event_ref
(
NULL
,
&
outp
->
base
.
conn
->
hpd
.
event
);
/* access to the aux channel is not optional... */
if
(
!
outp
->
base
.
edid
)
{
ERR
(
"aux channel not found
\n
"
);
return
-
ENODEV
;
}
/* nor is the bios data for this output... */
data
=
nvbios_dpout_match
(
bios
,
outp
->
base
.
info
.
hasht
,
outp
->
base
.
info
.
hashm
,
&
outp
->
version
,
&
hdr
,
&
cnt
,
&
len
,
&
outp
->
info
);
if
(
!
data
)
{
ERR
(
"no bios dp data
\n
"
);
return
-
ENODEV
;
}
DBG
(
"bios dp %02x %02x %02x %02x
\n
"
,
outp
->
version
,
hdr
,
cnt
,
len
);
/* link maintenance */
ret
=
nouveau_event_new
(
i2c
->
ntfy
,
NVKM_I2C_IRQ
,
outp
->
base
.
edid
->
index
,
nvkm_output_dp_service
,
outp
,
&
outp
->
irq
);
if
(
ret
)
{
ERR
(
"error monitoring aux irq event: %d
\n
"
,
ret
);
return
ret
;
}
/* hotplug detect, replaces gpio-based mechanism with aux events */
ret
=
nouveau_event_new
(
i2c
->
ntfy
,
NVKM_I2C_PLUG
|
NVKM_I2C_UNPLUG
,
outp
->
base
.
edid
->
index
,
nvkm_output_dp_hotplug
,
outp
,
&
outp
->
base
.
conn
->
hpd
.
event
);
if
(
ret
)
{
ERR
(
"error monitoring aux hpd events: %d
\n
"
,
ret
);
return
ret
;
}
return
0
;
}
int
_nvkm_output_dp_ctor
(
struct
nouveau_object
*
parent
,
struct
nouveau_object
*
engine
,
struct
nouveau_oclass
*
oclass
,
void
*
info
,
u32
index
,
struct
nouveau_object
**
pobject
)
{
struct
nvkm_output_dp
*
outp
;
int
ret
;
ret
=
nvkm_output_dp_create
(
parent
,
engine
,
oclass
,
info
,
index
,
&
outp
);
*
pobject
=
nv_object
(
outp
);
if
(
ret
)
return
ret
;
return
0
;
}
drivers/gpu/drm/nouveau/core/engine/disp/outpdp.h
0 → 100644
浏览文件 @
b8407c9e
#ifndef __NVKM_DISP_OUTP_DP_H__
#define __NVKM_DISP_OUTP_DP_H__
#include <subdev/bios.h>
#include <subdev/bios/dp.h>
#include "outp.h"
struct
nvkm_output_dp
{
struct
nvkm_output
base
;
struct
nvbios_dpout
info
;
u8
version
;
struct
nouveau_eventh
*
irq
;
struct
nouveau_eventh
*
hpd
;
};
#define nvkm_output_dp_create(p,e,c,b,i,d) \
nvkm_output_dp_create_((p), (e), (c), (b), (i), sizeof(**d), (void **)d)
#define nvkm_output_dp_destroy(d) ({ \
struct nvkm_output_dp *_outp = (d); \
_nvkm_output_dp_dtor(nv_object(_outp)); \
})
#define nvkm_output_dp_init(d) ({ \
struct nvkm_output_dp *_outp = (d); \
_nvkm_output_dp_init(nv_object(_outp)); \
})
#define nvkm_output_dp_fini(d,s) ({ \
struct nvkm_output_dp *_outp = (d); \
_nvkm_output_dp_fini(nv_object(_outp), (s)); \
})
int
nvkm_output_dp_create_
(
struct
nouveau_object
*
,
struct
nouveau_object
*
,
struct
nouveau_oclass
*
,
struct
dcb_output
*
,
int
,
int
,
void
**
);
int
_nvkm_output_dp_ctor
(
struct
nouveau_object
*
,
struct
nouveau_object
*
,
struct
nouveau_oclass
*
,
void
*
,
u32
,
struct
nouveau_object
**
);
void
_nvkm_output_dp_dtor
(
struct
nouveau_object
*
);
int
_nvkm_output_dp_init
(
struct
nouveau_object
*
);
int
_nvkm_output_dp_fini
(
struct
nouveau_object
*
,
bool
);
struct
nvkm_output_dp_impl
{
struct
nvkm_output_impl
base
;
};
#endif
drivers/gpu/drm/nouveau/core/engine/disp/piornv50.c
浏览文件 @
b8407c9e
...
...
@@ -141,26 +141,27 @@ nv50_pior_dp_ctor(struct nouveau_object *parent,
struct
nouveau_object
**
pobject
)
{
struct
nouveau_i2c
*
i2c
=
nouveau_i2c
(
parent
);
struct
nvkm_output
*
outp
;
struct
nvkm_output
_dp
*
outp
;
int
ret
;
ret
=
nvkm_output_create
(
parent
,
engine
,
oclass
,
info
,
index
,
&
outp
);
ret
=
nvkm_output_
dp_
create
(
parent
,
engine
,
oclass
,
info
,
index
,
&
outp
);
*
pobject
=
nv_object
(
outp
);
if
(
ret
)
return
ret
;
outp
->
edid
=
i2c
->
find_type
(
i2c
,
NV_I2C_TYPE_EXTAUX
(
outp
->
info
.
extdev
));
outp
->
base
.
edid
=
i2c
->
find_type
(
i2c
,
NV_I2C_TYPE_EXTAUX
(
outp
->
base
.
info
.
extdev
));
return
0
;
}
struct
nvkm_output_impl
struct
nvkm_output_
dp_
impl
nv50_pior_dp_impl
=
{
.
base
.
handle
=
DCB_OUTPUT_DP
|
0x010
0
,
.
base
.
ofuncs
=
&
(
struct
nouveau_ofuncs
)
{
.
base
.
base
.
handle
=
DCB_OUTPUT_DP
|
0x001
0
,
.
base
.
base
.
ofuncs
=
&
(
struct
nouveau_ofuncs
)
{
.
ctor
=
nv50_pior_dp_ctor
,
.
dtor
=
_nvkm_output_dtor
,
.
init
=
_nvkm_output_init
,
.
fini
=
_nvkm_output_fini
,
.
dtor
=
_nvkm_output_d
p_d
tor
,
.
init
=
_nvkm_output_
dp_
init
,
.
fini
=
_nvkm_output_
dp_
fini
,
},
};
...
...
drivers/gpu/drm/nouveau/core/engine/disp/sornv94.c
浏览文件 @
b8407c9e
...
...
@@ -31,6 +31,7 @@
#include <subdev/bios/init.h>
#include "nv50.h"
#include "outpdp.h"
static
inline
u32
nv94_sor_soff
(
struct
dcb_output
*
outp
)
...
...
@@ -129,3 +130,14 @@ nv94_sor_dp_func = {
.
lnk_ctl
=
nv94_sor_dp_lnk_ctl
,
.
drv_ctl
=
nv94_sor_dp_drv_ctl
,
};
struct
nvkm_output_dp_impl
nv94_sor_dp_impl
=
{
.
base
.
base
.
handle
=
DCB_OUTPUT_DP
,
.
base
.
base
.
ofuncs
=
&
(
struct
nouveau_ofuncs
)
{
.
ctor
=
_nvkm_output_dp_ctor
,
.
dtor
=
_nvkm_output_dp_dtor
,
.
init
=
_nvkm_output_dp_init
,
.
fini
=
_nvkm_output_dp_fini
,
},
};
drivers/gpu/drm/nouveau/core/engine/disp/sornvd0.c
浏览文件 @
b8407c9e
...
...
@@ -126,3 +126,14 @@ nvd0_sor_dp_func = {
.
lnk_ctl
=
nvd0_sor_dp_lnk_ctl
,
.
drv_ctl
=
nvd0_sor_dp_drv_ctl
,
};
struct
nvkm_output_dp_impl
nvd0_sor_dp_impl
=
{
.
base
.
base
.
handle
=
DCB_OUTPUT_DP
,
.
base
.
base
.
ofuncs
=
&
(
struct
nouveau_ofuncs
)
{
.
ctor
=
_nvkm_output_dp_ctor
,
.
dtor
=
_nvkm_output_dp_dtor
,
.
init
=
_nvkm_output_dp_init
,
.
fini
=
_nvkm_output_dp_fini
,
},
};
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录