Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
e225f446
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e225f446
编写于
11月 21, 2012
作者:
B
Ben Skeggs
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
drm/nouveau: rename nvd0_display to nv50_display to reflect reality since merge
Signed-off-by:
N
Ben Skeggs
<
bskeggs@redhat.com
>
上级
4f6029da
变更
9
展开全部
隐藏空白更改
内联
并排
Showing
9 changed file
with
268 addition
and
279 deletion
+268
-279
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/Makefile
+1
-1
drivers/gpu/drm/nouveau/nouveau_crtc.h
drivers/gpu/drm/nouveau/nouveau_crtc.h
+0
-7
drivers/gpu/drm/nouveau/nouveau_display.c
drivers/gpu/drm/nouveau/nouveau_display.c
+2
-2
drivers/gpu/drm/nouveau/nouveau_encoder.h
drivers/gpu/drm/nouveau/nouveau_encoder.h
+0
-4
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/nouveau/nv50_display.c
+254
-254
drivers/gpu/drm/nouveau/nv50_display.h
drivers/gpu/drm/nouveau/nv50_display.h
+7
-7
drivers/gpu/drm/nouveau/nv50_fence.c
drivers/gpu/drm/nouveau/nv50_fence.c
+1
-1
drivers/gpu/drm/nouveau/nv84_fence.c
drivers/gpu/drm/nouveau/nv84_fence.c
+1
-1
drivers/gpu/drm/nouveau/nvc0_fence.c
drivers/gpu/drm/nouveau/nvc0_fence.c
+2
-2
未找到文件。
drivers/gpu/drm/nouveau/Makefile
浏览文件 @
e225f446
...
...
@@ -201,7 +201,7 @@ nouveau-y += nv04_dac.o nv04_dfp.o nv04_tv.o nv17_tv.o nv17_tv_modes.o
nouveau-y
+=
nv04_crtc.o nv04_display.o nv04_cursor.o
# drm/kms/nv50-
nouveau-y
+=
nv
d
0_display.o
nouveau-y
+=
nv
5
0_display.o
# drm/pm
nouveau-y
+=
nouveau_pm.o nouveau_volt.o nouveau_perf.o
...
...
drivers/gpu/drm/nouveau/nouveau_crtc.h
浏览文件 @
e225f446
...
...
@@ -82,13 +82,6 @@ static inline struct drm_crtc *to_drm_crtc(struct nouveau_crtc *crtc)
return
&
crtc
->
base
;
}
int
nv50_crtc_create
(
struct
drm_device
*
dev
,
int
index
);
int
nv50_crtc_cursor_set
(
struct
drm_crtc
*
drm_crtc
,
struct
drm_file
*
file_priv
,
uint32_t
buffer_handle
,
uint32_t
width
,
uint32_t
height
);
int
nv50_crtc_cursor_move
(
struct
drm_crtc
*
drm_crtc
,
int
x
,
int
y
);
int
nv04_cursor_init
(
struct
nouveau_crtc
*
);
int
nv50_cursor_init
(
struct
nouveau_crtc
*
);
#endif
/* __NOUVEAU_CRTC_H__ */
drivers/gpu/drm/nouveau/nouveau_display.c
浏览文件 @
e225f446
...
...
@@ -366,7 +366,7 @@ nouveau_display_create(struct drm_device *dev)
if
(
nv_device
(
drm
->
device
)
->
card_type
<
NV_50
)
ret
=
nv04_display_create
(
dev
);
else
ret
=
nv
d
0_display_create
(
dev
);
ret
=
nv
5
0_display_create
(
dev
);
if
(
ret
)
goto
disp_create_err
;
...
...
@@ -657,7 +657,7 @@ nouveau_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb,
/* Emit a page flip */
if
(
nv_device
(
drm
->
device
)
->
card_type
>=
NV_50
)
{
ret
=
nv
d
0_display_flip_next
(
crtc
,
fb
,
chan
,
0
);
ret
=
nv
5
0_display_flip_next
(
crtc
,
fb
,
chan
,
0
);
if
(
ret
)
{
mutex_unlock
(
&
chan
->
cli
->
mutex
);
goto
fail_unreserve
;
...
...
drivers/gpu/drm/nouveau/nouveau_encoder.h
浏览文件 @
e225f446
...
...
@@ -97,9 +97,5 @@ void nouveau_dp_dpms(struct drm_encoder *, int mode, u32 datarate,
struct
nouveau_connector
*
nouveau_encoder_connector_get
(
struct
nouveau_encoder
*
encoder
);
int
nv50_sor_create
(
struct
drm_connector
*
,
struct
dcb_output
*
);
void
nv50_sor_dp_calc_tu
(
struct
drm_device
*
,
int
,
int
,
u32
,
u32
);
int
nv50_dac_create
(
struct
drm_connector
*
,
struct
dcb_output
*
);
#endif
/* __NOUVEAU_ENCODER_H__ */
drivers/gpu/drm/nouveau/nv
d
0_display.c
→
drivers/gpu/drm/nouveau/nv
5
0_display.c
浏览文件 @
e225f446
此差异已折叠。
点击以展开。
drivers/gpu/drm/nouveau/nv50_display.h
浏览文件 @
e225f446
...
...
@@ -31,15 +31,15 @@
#include "nouveau_crtc.h"
#include "nouveau_reg.h"
int
nv
d
0_display_create
(
struct
drm_device
*
);
void
nv
d
0_display_destroy
(
struct
drm_device
*
);
int
nv
d
0_display_init
(
struct
drm_device
*
);
void
nv
d
0_display_fini
(
struct
drm_device
*
);
int
nv
5
0_display_create
(
struct
drm_device
*
);
void
nv
5
0_display_destroy
(
struct
drm_device
*
);
int
nv
5
0_display_init
(
struct
drm_device
*
);
void
nv
5
0_display_fini
(
struct
drm_device
*
);
void
nv
d
0_display_flip_stop
(
struct
drm_crtc
*
);
int
nv
d
0_display_flip_next
(
struct
drm_crtc
*
,
struct
drm_framebuffer
*
,
void
nv
5
0_display_flip_stop
(
struct
drm_crtc
*
);
int
nv
5
0_display_flip_next
(
struct
drm_crtc
*
,
struct
drm_framebuffer
*
,
struct
nouveau_channel
*
,
u32
swap_interval
);
struct
nouveau_bo
*
nv
d
0_display_crtc_sema
(
struct
drm_device
*
,
int
head
);
struct
nouveau_bo
*
nv
5
0_display_crtc_sema
(
struct
drm_device
*
,
int
head
);
#endif
/* __NV50_DISPLAY_H__ */
drivers/gpu/drm/nouveau/nv50_fence.c
浏览文件 @
e225f446
...
...
@@ -70,7 +70,7 @@ nv50_fence_context_new(struct nouveau_channel *chan)
/* dma objects for display sync channel semaphore blocks */
for
(
i
=
0
;
!
ret
&&
i
<
dev
->
mode_config
.
num_crtc
;
i
++
)
{
struct
nouveau_bo
*
bo
=
nv
d
0_display_crtc_sema
(
dev
,
i
);
struct
nouveau_bo
*
bo
=
nv
5
0_display_crtc_sema
(
dev
,
i
);
ret
=
nouveau_object_new
(
nv_object
(
chan
->
cli
),
chan
->
handle
,
NvEvoSema0
+
i
,
0x003d
,
...
...
drivers/gpu/drm/nouveau/nv84_fence.c
浏览文件 @
e225f446
...
...
@@ -127,7 +127,7 @@ nv84_fence_context_new(struct nouveau_channel *chan)
/* dma objects for display sync channel semaphore blocks */
for
(
i
=
0
;
!
ret
&&
i
<
dev
->
mode_config
.
num_crtc
;
i
++
)
{
struct
nouveau_bo
*
bo
=
nv
d
0_display_crtc_sema
(
dev
,
i
);
struct
nouveau_bo
*
bo
=
nv
5
0_display_crtc_sema
(
dev
,
i
);
ret
=
nouveau_object_new
(
nv_object
(
chan
->
cli
),
chan
->
handle
,
NvEvoSema0
+
i
,
0x003d
,
...
...
drivers/gpu/drm/nouveau/nvc0_fence.c
浏览文件 @
e225f446
...
...
@@ -115,7 +115,7 @@ nvc0_fence_context_del(struct nouveau_channel *chan)
int
i
;
for
(
i
=
0
;
i
<
dev
->
mode_config
.
num_crtc
;
i
++
)
{
struct
nouveau_bo
*
bo
=
nv
d
0_display_crtc_sema
(
dev
,
i
);
struct
nouveau_bo
*
bo
=
nv
5
0_display_crtc_sema
(
dev
,
i
);
nouveau_bo_vma_del
(
bo
,
&
fctx
->
dispc_vma
[
i
]);
}
...
...
@@ -146,7 +146,7 @@ nvc0_fence_context_new(struct nouveau_channel *chan)
/* map display semaphore buffers into channel's vm */
for
(
i
=
0
;
!
ret
&&
i
<
chan
->
drm
->
dev
->
mode_config
.
num_crtc
;
i
++
)
{
struct
nouveau_bo
*
bo
=
nv
d
0_display_crtc_sema
(
chan
->
drm
->
dev
,
i
);
struct
nouveau_bo
*
bo
=
nv
5
0_display_crtc_sema
(
chan
->
drm
->
dev
,
i
);
ret
=
nouveau_bo_vma_add
(
bo
,
client
->
vm
,
&
fctx
->
dispc_vma
[
i
]);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录