Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ceb9c27a
Commit
ceb9c27a
authored
Jul 10, 2005
by
Dave Airlie
Committed by
Dave Airlie
Jul 10, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm: destatic exported function.
Signed-off-by:
Dave Airlie
<
airlied@linux.ie
>
parent
d84f76d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
drivers/char/drm/drmP.h
drivers/char/drm/drmP.h
+2
-0
drivers/char/drm/drm_bufs.c
drivers/char/drm/drm_bufs.c
+2
-2
No files found.
drivers/char/drm/drmP.h
View file @
ceb9c27a
...
...
@@ -889,6 +889,8 @@ extern int drm_lock_free(drm_device_t *dev,
unsigned
int
context
);
/* Buffer management support (drm_bufs.h) */
extern
int
drm_addbufs_agp
(
drm_device_t
*
dev
,
drm_buf_desc_t
*
request
);
extern
int
drm_addbufs_pci
(
drm_device_t
*
dev
,
drm_buf_desc_t
*
request
);
extern
int
drm_addmap
(
drm_device_t
*
dev
,
unsigned
int
offset
,
unsigned
int
size
,
drm_map_type_t
type
,
drm_map_flags_t
flags
,
drm_map_t
**
map_ptr
);
...
...
drivers/char/drm/drm_bufs.c
View file @
ceb9c27a
...
...
@@ -410,7 +410,7 @@ static void drm_cleanup_buf_error(drm_device_t *dev, drm_buf_entry_t *entry)
* reallocates the buffer list of the same size order to accommodate the new
* buffers.
*/
static
int
drm_addbufs_agp
(
drm_device_t
*
dev
,
drm_buf_desc_t
*
request
)
int
drm_addbufs_agp
(
drm_device_t
*
dev
,
drm_buf_desc_t
*
request
)
{
drm_device_dma_t
*
dma
=
dev
->
dma
;
drm_buf_entry_t
*
entry
;
...
...
@@ -564,7 +564,7 @@ static int drm_addbufs_agp(drm_device_t *dev, drm_buf_desc_t *request)
EXPORT_SYMBOL
(
drm_addbufs_agp
);
#endif
/* __OS_HAS_AGP */
static
int
drm_addbufs_pci
(
drm_device_t
*
dev
,
drm_buf_desc_t
*
request
)
int
drm_addbufs_pci
(
drm_device_t
*
dev
,
drm_buf_desc_t
*
request
)
{
drm_device_dma_t
*
dma
=
dev
->
dma
;
int
count
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment