diff options
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/drm.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl index 33290e3e3ffa..25e0f460a973 100644 --- a/Documentation/DocBook/drm.tmpl +++ b/Documentation/DocBook/drm.tmpl | |||
@@ -321,10 +321,10 @@ | |||
321 | <para> | 321 | <para> |
322 | Finding & mapping resources is fairly straightforward. The | 322 | Finding & mapping resources is fairly straightforward. The |
323 | DRM wrapper functions, drm_get_resource_start() and | 323 | DRM wrapper functions, drm_get_resource_start() and |
324 | drm_get_resource_len() may be used to find BARs on the given | 324 | drm_get_resource_len(), may be used to find BARs on the given |
325 | drm_device struct. Once those values have been retrieved, the | 325 | drm_device struct. Once those values have been retrieved, the |
326 | driver load function can call drm_addmap() to create a new | 326 | driver load function can call drm_addmap() to create a new |
327 | mapping for the BAR in question. Note you probably want a | 327 | mapping for the BAR in question. Note that you probably want a |
328 | drm_local_map_t in your driver private structure to track any | 328 | drm_local_map_t in your driver private structure to track any |
329 | mappings you create. | 329 | mappings you create. |
330 | <!-- !Fdrivers/gpu/drm/drm_bufs.c drm_get_resource_* --> | 330 | <!-- !Fdrivers/gpu/drm/drm_bufs.c drm_get_resource_* --> |