Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
odroid-linux-3.10.y-rt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oai
odroid-linux-3.10.y-rt
Commits
c2e1cd80
Commit
c2e1cd80
authored
Aug 21, 2015
by
charles.park
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ODROIDXU3 : HPD-Signal disable logic added.
Change-Id: I81ccf0ea95ed40502507f938ce49566cadf5c7a2
parent
846a8264
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
1 deletion
+28
-1
drivers/gpu/drm/exynos/exynos_hdmi.c
drivers/gpu/drm/exynos/exynos_hdmi.c
+28
-1
No files found.
drivers/gpu/drm/exynos/exynos_hdmi.c
View file @
c2e1cd80
...
...
@@ -218,6 +218,26 @@ struct hdmiphy_config {
u8
conf
[
32
];
};
#if defined(CONFIG_MACH_ODROIDXU3)
//-----------------------------------------------------------------------------
//
// HPD Signal Disable control.
//
// Default gEnableHPD = true,
//
//-----------------------------------------------------------------------------
unsigned
int
gEnableHPD
=
true
;
// Default setup
static
int
__init
hdmi_hpd_enable
(
char
*
line
)
{
if
(
kstrtoul
(
line
,
10
,
&
gEnableHPD
)
!=
0
)
gEnableHPD
=
true
;
else
gEnableHPD
=
false
;
return
0
;
}
__setup
(
"HPD="
,
hdmi_hpd_enable
);
#endif // #if defined(CONFIG_MACH_ODROIDXU3)
//-----------------------------------------------------------------------------
#if defined(CONFIG_ODROID_EXYNOS5_HDMI_PHY_TUNE)
...
...
@@ -1278,7 +1298,14 @@ static enum drm_connector_status hdmi_detect(struct drm_connector *connector,
{
struct
hdmi_context
*
hdata
=
ctx_from_connector
(
connector
);
hdata
->
hpd
=
gpio_get_value
(
hdata
->
hpd_gpio
);
#if defined(CONFIG_MACH_ODROIDXU3)
if
(
gEnableHPD
)
hdata
->
hpd
=
gpio_get_value
(
hdata
->
hpd_gpio
);
else
hdata
->
hpd
=
true
;
#else
hdata
->
hpd
=
gpio_get_value
(
hdata
->
hpd_gpio
);
#endif
return
hdata
->
hpd
?
connector_status_connected
:
connector_status_disconnected
;
...
...
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