Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
fb0a5bbe
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看板
提交
fb0a5bbe
编写于
1月 15, 2020
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau/flcn: specify FBIF offset from subdev
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
10e43bfd
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
11 addition
and
15 deletion
+11
-15
drivers/gpu/drm/nouveau/include/nvkm/engine/falcon.h
drivers/gpu/drm/nouveau/include/nvkm/engine/falcon.h
+3
-0
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/engine/nvdec/gm107.c
drivers/gpu/drm/nouveau/nvkm/engine/nvdec/gm107.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/engine/nvenc/gm107.c
drivers/gpu/drm/nouveau/nvkm/engine/nvenc/gm107.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c
drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/engine/sec2/tu102.c
drivers/gpu/drm/nouveau/nvkm/engine/sec2/tu102.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/falcon/v1.c
drivers/gpu/drm/nouveau/nvkm/falcon/v1.c
+1
-15
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c
+1
-0
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c
+1
-0
未找到文件。
drivers/gpu/drm/nouveau/include/nvkm/engine/falcon.h
浏览文件 @
fb0a5bbe
...
...
@@ -78,6 +78,9 @@ struct nvkm_falcon_func {
}
data
;
void
(
*
init
)(
struct
nvkm_falcon
*
);
void
(
*
intr
)(
struct
nvkm_falcon
*
,
struct
nvkm_fifo_chan
*
);
u32
fbif
;
void
(
*
load_imem
)(
struct
nvkm_falcon
*
,
void
*
,
u32
,
u32
,
u16
,
u8
,
bool
);
void
(
*
load_dmem
)(
struct
nvkm_falcon
*
,
void
*
,
u32
,
u32
,
u8
);
void
(
*
read_dmem
)(
struct
nvkm_falcon
*
,
u32
,
u32
,
u8
,
void
*
);
...
...
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
浏览文件 @
fb0a5bbe
...
...
@@ -2045,6 +2045,7 @@ gf100_gr_ = {
static
const
struct
nvkm_falcon_func
gf100_gr_flcn
=
{
.
fbif
=
0x600
,
.
load_imem
=
nvkm_falcon_v1_load_imem
,
.
load_dmem
=
nvkm_falcon_v1_load_dmem
,
.
read_dmem
=
nvkm_falcon_v1_read_dmem
,
...
...
drivers/gpu/drm/nouveau/nvkm/engine/nvdec/gm107.c
浏览文件 @
fb0a5bbe
...
...
@@ -23,6 +23,7 @@
static
const
struct
nvkm_falcon_func
gm107_nvdec_flcn
=
{
.
fbif
=
0x600
,
.
load_imem
=
nvkm_falcon_v1_load_imem
,
.
load_dmem
=
nvkm_falcon_v1_load_dmem
,
.
read_dmem
=
nvkm_falcon_v1_read_dmem
,
...
...
drivers/gpu/drm/nouveau/nvkm/engine/nvenc/gm107.c
浏览文件 @
fb0a5bbe
...
...
@@ -24,6 +24,7 @@
static
const
struct
nvkm_falcon_func
gm107_nvenc_flcn
=
{
.
fbif
=
0x800
,
.
load_imem
=
nvkm_falcon_v1_load_imem
,
.
load_dmem
=
nvkm_falcon_v1_load_dmem
,
.
read_dmem
=
nvkm_falcon_v1_read_dmem
,
...
...
drivers/gpu/drm/nouveau/nvkm/engine/sec2/gp102.c
浏览文件 @
fb0a5bbe
...
...
@@ -48,6 +48,7 @@ gp102_sec2_intr(struct nvkm_sec2 *sec2)
static
const
struct
nvkm_falcon_func
gp102_sec2_flcn
=
{
.
fbif
=
0x600
,
.
load_imem
=
nvkm_falcon_v1_load_imem
,
.
load_dmem
=
nvkm_falcon_v1_load_dmem
,
.
read_dmem
=
nvkm_falcon_v1_read_dmem
,
...
...
drivers/gpu/drm/nouveau/nvkm/engine/sec2/tu102.c
浏览文件 @
fb0a5bbe
...
...
@@ -23,6 +23,7 @@
static
const
struct
nvkm_falcon_func
tu102_sec2_flcn
=
{
.
fbif
=
0x600
,
.
load_imem
=
nvkm_falcon_v1_load_imem
,
.
load_dmem
=
nvkm_falcon_v1_load_dmem
,
.
read_dmem
=
nvkm_falcon_v1_read_dmem
,
...
...
drivers/gpu/drm/nouveau/nvkm/falcon/v1.c
浏览文件 @
fb0a5bbe
...
...
@@ -183,8 +183,8 @@ void
nvkm_falcon_v1_bind_context
(
struct
nvkm_falcon
*
falcon
,
struct
nvkm_memory
*
ctx
)
{
struct
nvkm_device
*
device
=
falcon
->
owner
->
device
;
const
u32
fbif
=
falcon
->
func
->
fbif
;
u32
inst_loc
;
u32
fbif
;
/* disable instance block binding */
if
(
ctx
==
NULL
)
{
...
...
@@ -192,20 +192,6 @@ nvkm_falcon_v1_bind_context(struct nvkm_falcon *falcon, struct nvkm_memory *ctx)
return
;
}
switch
(
falcon
->
owner
->
index
)
{
case
NVKM_ENGINE_NVENC0
:
case
NVKM_ENGINE_NVENC1
:
case
NVKM_ENGINE_NVENC2
:
fbif
=
0x800
;
break
;
case
NVKM_SUBDEV_PMU
:
fbif
=
0xe00
;
break
;
default:
fbif
=
0x600
;
break
;
}
nvkm_falcon_wr32
(
falcon
,
0x10c
,
0x1
);
/* setup apertures - virtual */
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/gv100.c
浏览文件 @
fb0a5bbe
...
...
@@ -23,6 +23,7 @@
static
const
struct
nvkm_falcon_func
gv100_gsp_flcn
=
{
.
fbif
=
0x600
,
.
load_imem
=
nvkm_falcon_v1_load_imem
,
.
load_dmem
=
nvkm_falcon_v1_load_dmem
,
.
read_dmem
=
nvkm_falcon_v1_read_dmem
,
...
...
drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gt215.c
浏览文件 @
fb0a5bbe
...
...
@@ -243,6 +243,7 @@ gt215_pmu_init(struct nvkm_pmu *pmu)
const
struct
nvkm_falcon_func
gt215_pmu_flcn
=
{
.
fbif
=
0xe00
,
.
load_imem
=
nvkm_falcon_v1_load_imem
,
.
load_dmem
=
nvkm_falcon_v1_load_dmem
,
.
read_dmem
=
nvkm_falcon_v1_read_dmem
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录