Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
a5294e01
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看板
提交
a5294e01
编写于
8月 29, 2011
作者:
M
Michael Witten
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
DocBook/drm: `(device|driver) specific' -> `(device|driver)-specific'
Signed-off-by:
N
Michael Witten
<
mfwitten@gmail.com
>
上级
5a462d58
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
17 addition
and
17 deletion
+17
-17
Documentation/DocBook/drm.tmpl
Documentation/DocBook/drm.tmpl
+17
-17
未找到文件。
Documentation/DocBook/drm.tmpl
浏览文件 @
a5294e01
...
...
@@ -238,7 +238,7 @@
</variablelist>
<para>
In this specific case, the driver requires AGP and supports
IRQs. DMA, as discussed later, is handled by device
specific ioctls
IRQs. DMA, as discussed later, is handled by device
-
specific ioctls
in this case. It also supports the kernel mode setting APIs, though
unlike in the actual i915 driver source, this example unconditionally
exports KMS capability.
...
...
@@ -277,7 +277,7 @@
to perform output discovery
&
configuration at load time.
Likewise, if user-level drivers unaware of memory management are
in use, memory management and command buffer setup may need to
be omitted. These requirements are driver
specific, and care
be omitted. These requirements are driver
-
specific, and care
needs to be taken to keep both old and new applications and
libraries working. The i915 driver supports the "modeset"
module parameter to control whether advanced features are
...
...
@@ -288,7 +288,7 @@
<title>
Driver private
&
performance counters
</title>
<para>
The driver private hangs off the main drm_device structure and
can be used for tracking various device
specific bits of
can be used for tracking various device
-
specific bits of
information, like register offsets, command buffer status,
register state for suspend/resume, etc. At load time, a
driver may simply allocate one and set drm_device.dev_priv
...
...
@@ -313,7 +313,7 @@
<sect2>
<title>
Configuring the device
</title>
<para>
Obviously, device configuration is device
specific.
Obviously, device configuration is device
-
specific.
However, there are several common operations: finding a
device's PCI resources, mapping them, and potentially setting
up an IRQ handler.
...
...
@@ -340,8 +340,8 @@
<para>
Once you have a register map, you may use the DRM_READn() and
DRM_WRITEn() macros to access the registers on your device, or
use driver
specific versions to offset into your MMIO space
relative to a driver
specific base pointer (see I915_READ for
use driver
-
specific versions to offset into your MMIO space
relative to a driver
-
specific base pointer (see I915_READ for
an example).
</para>
<para>
...
...
@@ -399,7 +399,7 @@
and devices with dedicated video RAM (VRAM), i.e. most discrete
graphics devices. If your device has dedicated RAM, supporting
TTM is desirable. TTM also integrates tightly with your
driver
specific buffer execution function. See the radeon
driver
-
specific buffer execution function. See the radeon
driver for examples.
</para>
<para>
...
...
@@ -427,7 +427,7 @@
created by the memory manager at runtime. Your global TTM should
have a type of TTM_GLOBAL_TTM_MEM. The size field for the global
object should be sizeof(struct ttm_mem_global), and the init and
release hooks should point at your driver
specific init and
release hooks should point at your driver
-
specific init and
release routines, which probably eventually call
ttm_mem_global_init and ttm_mem_global_release, respectively.
</para>
...
...
@@ -438,7 +438,7 @@
provide a pool for buffer object allocation by clients and the
kernel itself. The type of this object should be TTM_GLOBAL_TTM_BO,
and its size should be sizeof(struct ttm_bo_global). Again,
driver
specific init and release functions may be provided,
driver
-
specific init and release functions may be provided,
likely eventually calling ttm_bo_global_init() and
ttm_bo_global_release(), respectively. Also, like the previous
object, ttm_global_item_ref() is used to create an initial reference
...
...
@@ -462,7 +462,7 @@
be initialized separately into its own DRM MM object.
</para>
<para>
Initialization is driver
specific. In the case of Intel
Initialization is driver
-
specific. In the case of Intel
integrated graphics chips like 965GM, GEM initialization can
be done by calling the internal GEM init function,
i915_gem_do_init(). Since the 965GM is a UMA device
...
...
@@ -561,8 +561,8 @@ void intel_crt_init(struct drm_device *dev)
</programlisting>
<para>
In the example above (again, taken from the i915 driver), a
CRT connector and encoder combination is created. A device
specific
i2c bus is also created for fetching EDID data and
CRT connector and encoder combination is created. A device
-specific
i2c bus is also created for fetching EDID data and
performing monitor detection. Once the process is complete,
the new connector is registered with sysfs to make its
properties available to applications.
...
...
@@ -704,8 +704,8 @@ void intel_crt_init(struct drm_device *dev)
<para>
GEM-enabled drivers must provide gem_init_object() and
gem_free_object() callbacks to support the core memory
allocation routines. They should also provide several driver
specific
ioctls to support command execution, pinning, buffer
allocation routines. They should also provide several driver
-specific
ioctls to support command execution, pinning, buffer
read
&
write, mapping, and domain ownership transfers.
</para>
<para>
...
...
@@ -797,7 +797,7 @@ void intel_crt_init(struct drm_device *dev)
<para>
Clients need to provide a framebuffer object which provides a source
of pixels for a CRTC to deliver to the encoder(s) and ultimately the
connector(s). A framebuffer is fundamentally a driver
specific memory
connector(s). A framebuffer is fundamentally a driver
-
specific memory
object, made into an opaque handle by the DRM's addfb() function.
Once a framebuffer has been created this way, it may be passed to the
KMS mode setting routines for use in a completed configuration.
...
...
@@ -807,7 +807,7 @@ void intel_crt_init(struct drm_device *dev)
<sect1>
<title>
Command submission
&
fencing
</title>
<para>
This should cover a few device
specific command submission
This should cover a few device
-
specific command submission
implementations.
</para>
</sect1>
...
...
@@ -840,7 +840,7 @@ void intel_crt_init(struct drm_device *dev)
<para>
The DRM core exports several interfaces to applications,
generally intended to be used through corresponding libdrm
wrapper functions. In addition, drivers export device
specific
wrapper functions. In addition, drivers export device
-
specific
interfaces for use by userspace drivers
&
device aware
applications through ioctls and sysfs files.
</para>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录