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
13723b10
Commit
13723b10
authored
Apr 09, 2004
by
Dave Airlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
left gamma_dma.c out of last changeset
parent
44cabf9b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/char/drm/gamma_dma.c
drivers/char/drm/gamma_dma.c
+3
-3
No files found.
drivers/char/drm/gamma_dma.c
View file @
13723b10
...
@@ -116,7 +116,7 @@ static inline int gamma_dma_is_ready(drm_device_t *dev)
...
@@ -116,7 +116,7 @@ static inline int gamma_dma_is_ready(drm_device_t *dev)
return
(
!
GAMMA_READ
(
GAMMA_DMACOUNT
));
return
(
!
GAMMA_READ
(
GAMMA_DMACOUNT
));
}
}
irqreturn_t
gamma_
dma_service
(
DRM_IRQ_ARGS
)
irqreturn_t
gamma_
irq_handler
(
DRM_IRQ_ARGS
)
{
{
drm_device_t
*
dev
=
(
drm_device_t
*
)
arg
;
drm_device_t
*
dev
=
(
drm_device_t
*
)
arg
;
drm_device_dma_t
*
dma
=
dev
->
dma
;
drm_device_dma_t
*
dma
=
dev
->
dma
;
...
@@ -262,7 +262,7 @@ static void gamma_dma_timer_bh(unsigned long dev)
...
@@ -262,7 +262,7 @@ static void gamma_dma_timer_bh(unsigned long dev)
gamma_dma_schedule
((
drm_device_t
*
)
dev
,
0
);
gamma_dma_schedule
((
drm_device_t
*
)
dev
,
0
);
}
}
void
gamma_
dma
_immediate_bh
(
void
*
dev
)
void
gamma_
irq
_immediate_bh
(
void
*
dev
)
{
{
gamma_dma_schedule
(
dev
,
0
);
gamma_dma_schedule
(
dev
,
0
);
}
}
...
@@ -656,7 +656,7 @@ int gamma_do_cleanup_dma( drm_device_t *dev )
...
@@ -656,7 +656,7 @@ int gamma_do_cleanup_dma( drm_device_t *dev )
{
{
DRM_DEBUG
(
"%s
\n
"
,
__FUNCTION__
);
DRM_DEBUG
(
"%s
\n
"
,
__FUNCTION__
);
#if _
HAVE_DMA
_IRQ
#if _
_HAVE
_IRQ
/* Make sure interrupts are disabled here because the uninstall ioctl
/* Make sure interrupts are disabled here because the uninstall ioctl
* may not have been called from userspace and after dev_private
* may not have been called from userspace and after dev_private
* is freed, it's too late.
* is freed, it's too late.
...
...
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