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
5f288ab3
Commit
5f288ab3
authored
Aug 01, 2003
by
Linus Torvalds
Committed by
David S. Miller
Aug 01, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge i830 IRQ handler cleanups from DRI CVS tree
parent
157d8f6d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
drivers/char/drm/i830_irq.c
drivers/char/drm/i830_irq.c
+7
-7
No files found.
drivers/char/drm/i830_irq.c
View file @
5f288ab3
...
...
@@ -35,7 +35,7 @@
#include <linux/delay.h>
void
DRM
(
dma_service
)(
int
irq
,
void
*
device
,
struct
pt_regs
*
regs
)
irqreturn_t
DRM
(
dma_service
)(
int
irq
,
void
*
device
,
struct
pt_regs
*
regs
)
{
drm_device_t
*
dev
=
(
drm_device_t
*
)
device
;
drm_i830_private_t
*
dev_priv
=
(
drm_i830_private_t
*
)
dev
->
dev_private
;
...
...
@@ -44,15 +44,15 @@ void DRM(dma_service)(int irq, void *device, struct pt_regs *regs)
temp
=
I830_READ16
(
I830REG_INT_IDENTITY_R
);
DRM_DEBUG
(
"%x
\n
"
,
temp
);
if
(
temp
==
0
)
return
;
if
(
!
(
temp
&
2
)
)
return
IRQ_NONE
;
I830_WRITE16
(
I830REG_INT_IDENTITY_R
,
temp
);
if
(
temp
&
2
)
{
atomic_inc
(
&
dev_priv
->
irq_received
);
wake_up_interruptible
(
&
dev_priv
->
irq_queue
);
}
return
IRQ_HANDLED
;
}
...
...
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