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
a37f2f87
Commit
a37f2f87
authored
Jan 23, 2011
by
Chris Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/i915: Remove unused code: i915_enable_interrupt()
Signed-off-by:
Chris Wilson
<
chris@chris-wilson.co.uk
>
parent
c0c06bd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_drv.h
+0
-3
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_irq.c
+0
-10
No files found.
drivers/gpu/drm/i915/i915_drv.h
View file @
a37f2f87
...
...
@@ -330,8 +330,6 @@ typedef struct drm_i915_private {
int
cfb_plane
;
int
cfb_y
;
int
irq_enabled
;
struct
intel_opregion
opregion
;
/* overlay */
...
...
@@ -1001,7 +999,6 @@ extern int i915_irq_emit(struct drm_device *dev, void *data,
extern
int
i915_irq_wait
(
struct
drm_device
*
dev
,
void
*
data
,
struct
drm_file
*
file_priv
);
void
i915_trace_irq_get
(
struct
drm_device
*
dev
,
u32
seqno
);
extern
void
i915_enable_interrupt
(
struct
drm_device
*
dev
);
extern
irqreturn_t
i915_driver_irq_handler
(
DRM_IRQ_ARGS
);
extern
void
i915_driver_irq_preinstall
(
struct
drm_device
*
dev
);
...
...
drivers/gpu/drm/i915/i915_irq.c
View file @
a37f2f87
...
...
@@ -1412,16 +1412,6 @@ void i915_disable_vblank(struct drm_device *dev, int pipe)
spin_unlock_irqrestore
(
&
dev_priv
->
irq_lock
,
irqflags
);
}
void
i915_enable_interrupt
(
struct
drm_device
*
dev
)
{
struct
drm_i915_private
*
dev_priv
=
dev
->
dev_private
;
if
(
!
HAS_PCH_SPLIT
(
dev
))
intel_opregion_enable_asle
(
dev
);
dev_priv
->
irq_enabled
=
1
;
}
/* Set the vblank monitor pipe
*/
int
i915_vblank_pipe_set
(
struct
drm_device
*
dev
,
void
*
data
,
...
...
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