Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
e0e41598
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
e0e41598
编写于
9月 28, 2010
作者:
C
Chris Wilson
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'drm-intel-fixes' into drm-intel-next
上级
8daf7473
d270ae34
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
10 addition
and
13 deletion
+10
-13
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_dma.c
+3
-3
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem.c
+1
-1
drivers/gpu/drm/i915/intel_sdvo.c
drivers/gpu/drm/i915/intel_sdvo.c
+6
-9
未找到文件。
drivers/gpu/drm/i915/i915_dma.c
浏览文件 @
e0e41598
...
...
@@ -1602,9 +1602,9 @@ unsigned long i915_chipset_val(struct drm_i915_private *dev_priv)
}
}
div_u64
(
diff
,
diff1
);
di
ff
=
di
v_u64
(
diff
,
diff1
);
ret
=
((
m
*
diff
)
+
c
);
div_u64
(
ret
,
10
);
ret
=
div_u64
(
ret
,
10
);
dev_priv
->
last_count1
=
total_count
;
dev_priv
->
last_time1
=
now
;
...
...
@@ -1673,7 +1673,7 @@ void i915_update_gfx_val(struct drm_i915_private *dev_priv)
/* More magic constants... */
diff
=
diff
*
1181
;
div_u64
(
diff
,
diffms
*
10
);
di
ff
=
di
v_u64
(
diff
,
diffms
*
10
);
dev_priv
->
gfx_power
=
diff
;
}
...
...
drivers/gpu/drm/i915/i915_gem.c
浏览文件 @
e0e41598
...
...
@@ -2533,7 +2533,7 @@ i915_gem_clear_fence_reg(struct drm_gem_object *obj)
I915_WRITE64
(
FENCE_REG_965_0
+
(
obj_priv
->
fence_reg
*
8
),
0
);
break
;
case
3
:
if
(
obj_priv
->
fence_reg
>
8
)
if
(
obj_priv
->
fence_reg
>
=
8
)
fence_reg
=
FENCE_REG_945_8
+
(
obj_priv
->
fence_reg
-
8
)
*
4
;
else
case
2
:
...
...
drivers/gpu/drm/i915/intel_sdvo.c
浏览文件 @
e0e41598
...
...
@@ -2156,8 +2156,7 @@ intel_sdvo_tv_init(struct intel_sdvo *intel_sdvo, int type)
return
true
;
err:
intel_sdvo_destroy_enhance_property
(
connector
);
kfree
(
intel_sdvo_connector
);
intel_sdvo_destroy
(
connector
);
return
false
;
}
...
...
@@ -2230,8 +2229,7 @@ intel_sdvo_lvds_init(struct intel_sdvo *intel_sdvo, int device)
return
true
;
err:
intel_sdvo_destroy_enhance_property
(
connector
);
kfree
(
intel_sdvo_connector
);
intel_sdvo_destroy
(
connector
);
return
false
;
}
...
...
@@ -2509,11 +2507,10 @@ static bool intel_sdvo_create_enhance_property(struct intel_sdvo *intel_sdvo,
uint16_t
response
;
}
enhancements
;
if
(
!
intel_sdvo_get_value
(
intel_sdvo
,
SDVO_CMD_GET_SUPPORTED_ENHANCEMENTS
,
&
enhancements
,
sizeof
(
enhancements
)))
return
false
;
enhancements
.
response
=
0
;
intel_sdvo_get_value
(
intel_sdvo
,
SDVO_CMD_GET_SUPPORTED_ENHANCEMENTS
,
&
enhancements
,
sizeof
(
enhancements
));
if
(
enhancements
.
response
==
0
)
{
DRM_DEBUG_KMS
(
"No enhancement is supported
\n
"
);
return
true
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录