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
nexedi
linux
Commits
c5c81f4e
Commit
c5c81f4e
authored
Jul 12, 2013
by
Patrik Jakobsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/gma500/cdv: Convert to generic set_config()
Signed-off-by:
Patrik Jakobsson
<
patrik.r.jakobsson@gmail.com
>
parent
43a83027
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
20 deletions
+1
-20
drivers/gpu/drm/gma500/cdv_intel_display.c
drivers/gpu/drm/gma500/cdv_intel_display.c
+1
-20
No files found.
drivers/gpu/drm/gma500/cdv_intel_display.c
View file @
c5c81f4e
...
...
@@ -19,7 +19,6 @@
*/
#include <linux/i2c.h>
#include <linux/pm_runtime.h>
#include <drm/drmP.h>
#include "framebuffer.h"
...
...
@@ -867,24 +866,6 @@ static int cdv_intel_crtc_mode_set(struct drm_crtc *crtc,
return
0
;
}
static
int
cdv_crtc_set_config
(
struct
drm_mode_set
*
set
)
{
int
ret
=
0
;
struct
drm_device
*
dev
=
set
->
crtc
->
dev
;
struct
drm_psb_private
*
dev_priv
=
dev
->
dev_private
;
if
(
!
dev_priv
->
rpm_enabled
)
return
drm_crtc_helper_set_config
(
set
);
pm_runtime_forbid
(
&
dev
->
pdev
->
dev
);
ret
=
drm_crtc_helper_set_config
(
set
);
pm_runtime_allow
(
&
dev
->
pdev
->
dev
);
return
ret
;
}
/** Derive the pixel clock for the given refclk and divisors for 8xx chips. */
/* FIXME: why are we using this, should it be cdv_ in this tree ? */
...
...
@@ -1040,7 +1021,7 @@ const struct drm_crtc_funcs cdv_intel_crtc_funcs = {
.
cursor_set
=
gma_crtc_cursor_set
,
.
cursor_move
=
gma_crtc_cursor_move
,
.
gamma_set
=
gma_crtc_gamma_set
,
.
set_config
=
cdv
_crtc_set_config
,
.
set_config
=
gma
_crtc_set_config
,
.
destroy
=
gma_crtc_destroy
,
};
...
...
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