Commit ce04cc08 authored by Nicolas Kaiser's avatar Nicolas Kaiser Committed by Dave Airlie

drm: fix typos in Linux DRM Developer's Guide

A few typos in the DRM Developer's Guide.
Signed-off-by: default avatarNicolas Kaiser <nikai@nikai.net>
Acked-by: default avatarJesse Barnes <jesse.barnes@intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 84d88f4c
...@@ -389,7 +389,7 @@ ...@@ -389,7 +389,7 @@
</para> </para>
<para> <para>
If your driver supports memory management (it should!), you'll If your driver supports memory management (it should!), you'll
need to set that up at load time as well. How you intialize need to set that up at load time as well. How you initialize
it depends on which memory manager you're using, TTM or GEM. it depends on which memory manager you're using, TTM or GEM.
</para> </para>
<sect3> <sect3>
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,7 @@
aperture space for graphics devices. TTM supports both UMA devices aperture space for graphics devices. TTM supports both UMA devices
and devices with dedicated video RAM (VRAM), i.e. most discrete and devices with dedicated video RAM (VRAM), i.e. most discrete
graphics devices. If your device has dedicated RAM, supporting graphics devices. If your device has dedicated RAM, supporting
TTM is desireable. TTM also integrates tightly with your 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. driver for examples.
</para> </para>
...@@ -443,7 +443,7 @@ ...@@ -443,7 +443,7 @@
likely eventually calling ttm_bo_global_init and likely eventually calling ttm_bo_global_init and
ttm_bo_global_release, respectively. Also like the previous ttm_bo_global_release, respectively. Also like the previous
object, ttm_global_item_ref is used to create an initial reference object, ttm_global_item_ref is used to create an initial reference
count for the TTM, which will call your initalization function. count for the TTM, which will call your initialization function.
</para> </para>
</sect3> </sect3>
<sect3> <sect3>
...@@ -557,7 +557,7 @@ void intel_crt_init(struct drm_device *dev) ...@@ -557,7 +557,7 @@ void intel_crt_init(struct drm_device *dev)
CRT connector and encoder combination is created. A device CRT connector and encoder combination is created. A device
specific i2c bus is also created, for fetching EDID data and specific i2c bus is also created, for fetching EDID data and
performing monitor detection. Once the process is complete, performing monitor detection. Once the process is complete,
the new connector is regsitered with sysfs, to make its the new connector is registered with sysfs, to make its
properties available to applications. properties available to applications.
</para> </para>
<sect4> <sect4>
...@@ -581,12 +581,12 @@ void intel_crt_init(struct drm_device *dev) ...@@ -581,12 +581,12 @@ void intel_crt_init(struct drm_device *dev)
<para> <para>
For each encoder, CRTC and connector, several functions must For each encoder, CRTC and connector, several functions must
be provided, depending on the object type. Encoder objects be provided, depending on the object type. Encoder objects
need should provide a DPMS (basically on/off) function, mode fixup need to provide a DPMS (basically on/off) function, mode fixup
(for converting requested modes into native hardware timings), (for converting requested modes into native hardware timings),
and prepare, set and commit functions for use by the core DRM and prepare, set and commit functions for use by the core DRM
helper functions. Connector helpers need to provide mode fetch and helper functions. Connector helpers need to provide mode fetch and
validity functions as well as an encoder matching function for validity functions as well as an encoder matching function for
returing an ideal encoder for a given connector. The core returning an ideal encoder for a given connector. The core
connector functions include a DPMS callback, (deprecated) connector functions include a DPMS callback, (deprecated)
save/restore routines, detection, mode probing, property handling, save/restore routines, detection, mode probing, property handling,
and cleanup functions. and cleanup functions.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment