03 Nov, 2014
1 commit
-
All KMS objects are destroyed by drm_mode_config_cleanup in proper order
so component drivers should not care about it.Signed-off-by: Andrzej Hajda
Signed-off-by: Inki Dae
19 Sep, 2014
1 commit
-
During component removal driver should unregister connector.
Signed-off-by: Andrzej Hajda
Signed-off-by: Inki Dae
03 Sep, 2014
1 commit
-
Rename the defines to have levels instead of values for vswing and
pre-emph levels as the values may differ in other scenarios like low vswing of
eDP1.4 where the values are different.Done using following cocci patch for each define:
@@
@@# define DP_TRAIN_VOLTAGE_SWING_400 (0 << 0)
+ # define DP_TRAIN_VOLTAGE_SWING_LEVEL_0 (0 << 0)...
Signed-off-by: Sonika Jindal
Acked-by: Dave Airlie
Acked-by: Jingoo Han
Signed-off-by: Daniel Vetter
07 Aug, 2014
1 commit
-
drm/panel: Changes for v3.17-rc1
Panels can now be more finely controlled via .prepare() and .unprepare()
callbacks in addition to .enable() and .disable(). New kerneldoc details
what they are supposed to do and when they should be called.The simple panel driver gained support for a couple of new panels and it
is now possible to specify additional delays during power up and power
down sequences if panels require it.DSI devices can now advertise that they support non-continuous clock
mode which will allow DSI host controllers to disable the high speed
clock after transmissions to save power.* tag 'drm/panel/for-3.17-rc1' of git://anongit.freedesktop.org/tegra/linux: (30 commits)
drm/panel: simple: Use devm_gpiod_get_optional()
drm/dsi: Replace upcasting macro by function
drm/panel: ld9040: Replace upcasting macro by function
drm/exynos: dp: Modify driver to support drm_panel
drm/exynos: Move DP setup into commit()
drm/panel: simple: Add AUO B133HTN01 panel support
drm/panel: simple: Support delays in panel functions
drm/panel: simple: Add proper definition for prepare and unprepare
drm/panel: s6e8aa0: Add proper definition for prepare and unprepare
drm/panel: ld9040: Add proper definition for prepare and unprepare
drm/tegra: Add support for panel prepare and unprepare routines
drm/exynos: dsi: Add support for panel prepare and unprepare routines
drm/exynos: dpi: Add support for panel prepare and unprepare routines
drm/panel: simple: Add dummy prepare and unprepare routines
drm/panel: s6e8aa0: Add dummy prepare and unprepare routines
drm/panel: ld9040: Add dummy prepare and unprepare routines
drm/panel: Provide convenience wrapper for .get_modes()
drm/panel: add .prepare() and .unprepare() functions
drm/panel: simple: Remove simple-panel compatible
drm/panel: simple: Add Innolux N116BGE panel support
...
06 Aug, 2014
2 commits
-
Add drm_panel controls to support powerup/down of the
eDP panel, if one is present at the sink side.Signed-off-by: Ajay Kumar
Acked-by: Inki Dae
Signed-off-by: Thierry Reding -
Add commit callback for exynos_dp, and move the DP link training,
video configuration code from the hotplug handler into commit().Signed-off-by: Sean Paul
Signed-off-by: Ajay Kumar
Acked-by: Inki Dae
Signed-off-by: Thierry Reding
04 Aug, 2014
1 commit
-
This reverts commit d089621896c3530a9bd309f96e9c9124d07f6c3f was
original to prevent multiple MODULE_DEVICE_TABLE in one module.
Which, as a side-effect broke autoloading of the module.Since 21bdd17b21b45ea48e06e23918d681afbe0622e9 it is possible to have
multiple calls to MODULE_DEVICE_TABLE, so the patch can be
reverted to restore support for autoloadingSigned-off-by: Sjoerd Simons
Signed-off-by: Inki Dae
03 Aug, 2014
1 commit
-
According to the header comment in the source file, the driver is
licensed under GPL v2, so update MODULE_LICENSE() to match that.Signed-off-by: Jingoo Han
Signed-off-by: Inki Dae
19 Jun, 2014
1 commit
-
Introduce generic functions to register and unregister connectors. This
provides a common place to add and remove associated user space
interfaces.Signed-off-by: Thomas Wood
Reviewed-by: David Herrmann
Signed-off-by: Daniel Vetter
10 Jun, 2014
1 commit
-
One small step after another, the never-ending crusade towards better
code continues.Signed-off-by: Damien Lespiau
Signed-off-by: Dave Airlie
02 Jun, 2014
6 commits
-
This patch makes sure that exynos drm framework handles deferred
probe case correctly.Sub drivers could be probed before resources, clock, regulator,
phy or panel, are ready for them so we should make sure that exynos
drm core waits until all resources are ready and sub drivers are
probed correctly.Chagelog v2:
- Make sure that exynos drm core tries to bind sub drivers only in case that
they have a pair: crtc and encoder/connector components should be a pair.
- Remove unnecessary patch:
drm/exynos: mipi-dsi: consider panel driver-deferred probe
- Return error type correctly.Signed-off-by: Inki Dae
Acked-by: Kyungmin Park -
PTR_ERR_OR_ZERO simplifies the code.
Signed-off-by: Sachin Kamat
Acked-by: Jingoo Han
Signed-off-by: Inki Dae -
Use DPCD defines of drm_dp_helper.h; thus, duplicated DPCD defines
of exynos_dp_core.h can be removed. Also, DP_TEST_EDID_CHECKSUM
define is added to drm_dp_helper.h. There is no functional change.Signed-off-by: Jingoo Han
Reviewed-by: Sean Paul
Signed-off-by: Inki Dae -
Certain bridge chips use a GPIO to indicate the cable status instead
of the I_DP_HPD pin. This adds an optional device-tree property,
"samsung,hpd-gpio", to the exynos-dp controller which indicates that
the specified GPIO should be used for hotplug detection.
The GPIO is then set up as an edge-triggered interrupt where the
rising edge indicates hotplug-in and the falling edge indicates hotplug-out.Signed-off-by: Andrew Bresticker
Signed-off-by: Rahul Sharma
Signed-off-by: Ajay Kumar
Acked-by: Jingoo Han
Signed-off-by: Inki Dae -
This patch adds component framework support to resolve
the probe order issue.Until now, exynos drm had used codes specific to exynos drm
to resolve that issue so with this patch, the specific codes
are removed.Signed-off-by: Inki Dae
-
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.Signed-off-by: Jingoo Han
Signed-off-by: Inki Dae
22 Apr, 2014
1 commit
-
Many drm connectors do not need mode validation.
The patch makes this callback optional and removes dumb implementations.v2: Rebase:
- imx move to a shared (but still dummy) ->mode_valid implementation.
- probe helpers have been extracted to drm_probe_helper.cSigned-off-by: Andrzej Hajda (v1)
Signed-off-by: Daniel Vetter
04 Apr, 2014
1 commit
-
This patch removes MODULE_DEVICE_TABLE definition to of_device_id
of DP and MIPI-DSI drivers.Eyxnos drm should be built as single module so these definitions
should be removed.Signed-off-by: Inki Dae
Signed-off-by: Kyungmin Park
23 Mar, 2014
5 commits
-
This patch implements the lvds bridge discovery and connector pre-emption
code to the dp driver.Signed-off-by: Sean Paul
Signed-off-by: Inki Dae -
This patch implements drm_connector directly in the dp driver, this will
allow us to move away from the exynos_drm_connector layer.Signed-off-by: Sean Paul
Signed-off-by: Inki Dae -
This patch implements the dpms display callback for the DP driver.
Signed-off-by: Sean Paul
Signed-off-by: Inki Dae -
This patch moves the exynos_drm_display implementation from fimd into
the dp driver. This will allow for tighter integration of the dp driver
into the exynos drm driver.Signed-off-by: Sean Paul
Signed-off-by: Inki Dae -
This patch moves the code from video/ to drm/. This is required the DP
driver needs to power on/off in the correct order in relation to fimd.
This will also allow the DP driver to participate in drm modeset as well
as provide accurate connection detection and edid.Signed-off-by: Sean Paul
Signed-off-by: Inki Dae