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
cf8efd3a
Commit
cf8efd3a
authored
Sep 16, 2013
by
Patrik Jakobsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/gma500: Add chip specific sdvo masks
Signed-off-by:
Patrik Jakobsson
<
patrik.r.jakobsson@gmail.com
>
parent
9d3e2f53
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
1 deletion
+5
-1
drivers/gpu/drm/gma500/cdv_device.c
drivers/gpu/drm/gma500/cdv_device.c
+1
-0
drivers/gpu/drm/gma500/framebuffer.c
drivers/gpu/drm/gma500/framebuffer.c
+1
-1
drivers/gpu/drm/gma500/oaktrail_device.c
drivers/gpu/drm/gma500/oaktrail_device.c
+1
-0
drivers/gpu/drm/gma500/psb_device.c
drivers/gpu/drm/gma500/psb_device.c
+1
-0
drivers/gpu/drm/gma500/psb_drv.h
drivers/gpu/drm/gma500/psb_drv.h
+1
-0
No files found.
drivers/gpu/drm/gma500/cdv_device.c
View file @
cf8efd3a
...
...
@@ -634,6 +634,7 @@ const struct psb_ops cdv_chip_ops = {
.
crtcs
=
2
,
.
hdmi_mask
=
(
1
<<
0
)
|
(
1
<<
1
),
.
lvds_mask
=
(
1
<<
1
),
.
sdvo_mask
=
(
1
<<
0
),
.
cursor_needs_phys
=
0
,
.
sgx_offset
=
MRST_SGX_OFFSET
,
.
chip_setup
=
cdv_chip_setup
,
...
...
drivers/gpu/drm/gma500/framebuffer.c
View file @
cf8efd3a
...
...
@@ -714,7 +714,7 @@ static void psb_setup_outputs(struct drm_device *dev)
clone_mask
=
(
1
<<
INTEL_OUTPUT_ANALOG
);
break
;
case
INTEL_OUTPUT_SDVO
:
crtc_mask
=
((
1
<<
0
)
|
(
1
<<
1
))
;
crtc_mask
=
dev_priv
->
ops
->
sdvo_mask
;
clone_mask
=
(
1
<<
INTEL_OUTPUT_SDVO
);
break
;
case
INTEL_OUTPUT_LVDS
:
...
...
drivers/gpu/drm/gma500/oaktrail_device.c
View file @
cf8efd3a
...
...
@@ -546,6 +546,7 @@ const struct psb_ops oaktrail_chip_ops = {
.
crtcs
=
2
,
.
hdmi_mask
=
(
1
<<
1
),
.
lvds_mask
=
(
1
<<
0
),
.
sdvo_mask
=
(
1
<<
1
),
.
cursor_needs_phys
=
0
,
.
sgx_offset
=
MRST_SGX_OFFSET
,
...
...
drivers/gpu/drm/gma500/psb_device.c
View file @
cf8efd3a
...
...
@@ -373,6 +373,7 @@ const struct psb_ops psb_chip_ops = {
.
crtcs
=
2
,
.
hdmi_mask
=
(
1
<<
0
),
.
lvds_mask
=
(
1
<<
1
),
.
sdvo_mask
=
(
1
<<
0
),
.
cursor_needs_phys
=
1
,
.
sgx_offset
=
PSB_SGX_OFFSET
,
.
chip_setup
=
psb_chip_setup
,
...
...
drivers/gpu/drm/gma500/psb_drv.h
View file @
cf8efd3a
...
...
@@ -672,6 +672,7 @@ struct psb_ops {
int
sgx_offset
;
/* Base offset of SGX device */
int
hdmi_mask
;
/* Mask of HDMI CRTCs */
int
lvds_mask
;
/* Mask of LVDS CRTCs */
int
sdvo_mask
;
/* Mask of SDVO CRTCs */
int
cursor_needs_phys
;
/* If cursor base reg need physical address */
/* Sub functions */
...
...
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