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
c2037ad1
Commit
c2037ad1
authored
Jul 25, 2012
by
Alex Deucher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/radeon: add SS override support for KB/KV
Signed-off-by:
Alex Deucher
<
alexander.deucher@amd.com
>
parent
c7d2f227
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
drivers/gpu/drm/radeon/radeon_atombios.c
drivers/gpu/drm/radeon/radeon_atombios.c
+17
-0
No files found.
drivers/gpu/drm/radeon/radeon_atombios.c
View file @
c2037ad1
...
...
@@ -1269,6 +1269,7 @@ union igp_info {
struct
_ATOM_INTEGRATED_SYSTEM_INFO_V2
info_2
;
struct
_ATOM_INTEGRATED_SYSTEM_INFO_V6
info_6
;
struct
_ATOM_INTEGRATED_SYSTEM_INFO_V1_7
info_7
;
struct
_ATOM_INTEGRATED_SYSTEM_INFO_V1_8
info_8
;
};
bool
radeon_atombios_sideport_present
(
struct
radeon_device
*
rdev
)
...
...
@@ -1438,6 +1439,22 @@ static void radeon_atombios_get_igp_ss_overrides(struct radeon_device *rdev,
break
;
}
break
;
case
8
:
switch
(
id
)
{
case
ASIC_INTERNAL_SS_ON_TMDS
:
percentage
=
le16_to_cpu
(
igp_info
->
info_8
.
usDVISSPercentage
);
rate
=
le16_to_cpu
(
igp_info
->
info_8
.
usDVISSpreadRateIn10Hz
);
break
;
case
ASIC_INTERNAL_SS_ON_HDMI
:
percentage
=
le16_to_cpu
(
igp_info
->
info_8
.
usHDMISSPercentage
);
rate
=
le16_to_cpu
(
igp_info
->
info_8
.
usHDMISSpreadRateIn10Hz
);
break
;
case
ASIC_INTERNAL_SS_ON_LVDS
:
percentage
=
le16_to_cpu
(
igp_info
->
info_8
.
usLvdsSSPercentage
);
rate
=
le16_to_cpu
(
igp_info
->
info_8
.
usLvdsSSpreadRateIn10Hz
);
break
;
}
break
;
default:
DRM_ERROR
(
"Unsupported IGP table: %d %d
\n
"
,
frev
,
crev
);
break
;
...
...
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