[PATCH 4/4] ARM: dts: Use OF graph for DP to panel connection in exynos5800-peach-pi

2015-12-07 Thread Javier Martinez Canillas
Hello Krzysztof, On 12/07/2015 09:48 PM, Krzysztof Kozlowski wrote: > On 08.12.2015 00:36, Inki Dae wrote: >> Hi Javier, >> >> 2015-12-07 22:41 GMT+09:00 Javier Martinez Canillas > osg.samsung.com>: >>> Hello Inki, >>> >>> On 12/07/2015 09:52 AM, Inki Dae wrote: From: Javier Martinez

[PATCH 4/4] ARM: dts: Use OF graph for DP to panel connection in exynos5800-peach-pi

2015-12-07 Thread Javier Martinez Canillas
Hello Krzysztof, On 12/07/2015 09:45 PM, Krzysztof Kozlowski wrote: > On 07.12.2015 21:52, Inki Dae wrote: >> From: Javier Martinez Canillas >> >> The DT binding for the Exynos DRM Display Port (DP) driver isn't consistent >> since it uses a phandle to describe the connection between the DP port

[Bug 93264] Tonga VM Faults since llvm ScheduleDAGInstrs: Rework schedule graph builder.

2015-12-07 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/70d8bebc/attachment.html>

[Bug 93217] [tonga] [powerplay] Radon M395X isn't initialised with the powerplay branch

2015-12-07 Thread bugzilla-dae...@freedesktop.org
ent was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/9a2a4d17/attachment.html>

[Bug 93217] [tonga] [powerplay] Radon M395X isn't initialised with the powerplay branch

2015-12-07 Thread bugzilla-dae...@freedesktop.org
You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/b30e37ad/attachment.html>

[PATCH] drm/exynos: decon: remove unused variables

2015-12-07 Thread Inki Dae
This patch just removes unused variables, i and ret. Signed-off-by: Inki Dae --- drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index

[PATCH 4/4] ARM: dts: Use OF graph for DP to panel connection in exynos5800-peach-pi

2015-12-07 Thread Inki Dae
From: Javier Martinez Canillas The DT binding for the Exynos DRM Display Port (DP) driver isn't consistent since it uses a phandle to describe the connection between the DP port and the display panel but uses the OF graph ports and endpoints to describe the connection

[PATCH v2 3/4] dt-bindings: exynos-dp: update ports node binding for panel

2015-12-07 Thread Inki Dae
This patch updates a ports node binding for panel. With this, dp node can have a ports node which describes a remote endpoint node that can be connected to panel or bridge node. Changelog v2: - remove unnecessary properties and numbering. - update description about eDP device. Signed-off-by:

[PATCH v2 2/4] drm/exynos: dp: fix wrong return type

2015-12-07 Thread Inki Dae
This patch fixes wrong return type when dt binding of bridge device failed. If a board has a bridge device then of_graph_get_remote_port_parent function shouldn't be NULL. So this patch will return a proper error type so that the deferred probe isn't triggered. Changelog v2: - return -EINVAL if

[PATCH v3 1/4] drm/exynos: dp: add of_graph dt binding support for panel

2015-12-07 Thread Inki Dae
This patch adds of_graph dt binding support for panel device and also keeps the backward compatibility. i.e., The dts file for Exynos5800 based peach pi board has a panel property so we need to keep the backward compatibility. Changelog v3: - bind only one of two nodes outbound - panel or

[PATCH v2 0/4] drm/exynos: dp: consider port node outbound for panel

2015-12-07 Thread Inki Dae
This patch series considers a port node outbound for panel device node, including dt binding for it. And also it fixes a wrong error type. Changelog v2: - add a patch from Javier, which allows dp to connect panel using of graph. - remove unnecessary properties and numbering pointed out by Rob

[PATCH v3 00/15] ASoC: hdac_hdmi: Add DP & notification support

2015-12-07 Thread Mark Brown
t;http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/0a39e1f9/attachment.sig>

[PATCH 3/9] drm/vc4: Add create and map BO ioctls.

2015-12-07 Thread Eric Anholt
rm.h: No such file or >> directory > > What happened to include/uapi/drm/drm.h in that tree? Looks like it's just versus "drm.h" failure. I've changed over to "drm.h" -- next part ------ A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/1f60b1ff/attachment-0001.sig>

[PATCH 2/3] radeon: Fix VCE ring test for Big-Endian systems

2015-12-07 Thread Oded Gabbay
On Mon, Dec 7, 2015 at 9:51 AM, Michel Dänzer wrote: > On 05.12.2015 06:09, Oded Gabbay wrote: >> This patch fixes the VCE ring test when running on Big-Endian machines. >> Every write to the ring needs to be translated to little-endian. >> >> Signed-off-by: Oded Gabbay >> Cc: stable at

[Bug 93217] [tonga] [powerplay] Radon M395X isn't initialised with the powerplay branch

2015-12-07 Thread bugzilla-dae...@freedesktop.org
|Linux (All) -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/cab0a9a2/attachment.html>

[Bug 93217] [tonga] [powerplay] Radon M395X isn't initialised with the powerplay branch

2015-12-07 Thread bugzilla-dae...@freedesktop.org
TML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/f494f948/attachment.html>

[PATCH 4/4] fbdev: Debug knob to register without holding console_lock

2015-12-07 Thread Tomi Valkeinen
gp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/b622758e/attachment.sig>

[PATCH] drm: do not use device name as a format string

2015-12-07 Thread Nicolas Iooss
On 12/07/2015 01:31 PM, Thierry Reding wrote: > On Mon, Dec 07, 2015 at 12:46:52PM +0100, Daniel Vetter wrote: >> On Mon, Dec 07, 2015 at 11:53:01AM +0200, Jani Nikula wrote: >>> On Mon, 07 Dec 2015, Daniel Vetter wrote: On Sun, Dec 06, 2015 at 11:16:32AM +0100, Nicolas Iooss wrote: > On

[PATCH 1/4] component: remove old add_components method

2015-12-07 Thread Andrew Lunn
On Mon, Nov 23, 2015 at 04:02:37PM +, Russell King wrote: > Now that drivers create an array of component matches at probe time, we > can retire the old methods. This involves removing the add_components > master method, and removing component_master_add_child() from public > view. We also

[PATCH] drm/omap: Use platform_register/unregister_drivers()

2015-12-07 Thread Tomi Valkeinen
Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/76473065/attachment.sig>

[PATCH 02/12] drm/etnaviv: add devicetree bindings

2015-12-07 Thread Michel Dänzer
On 05.12.2015 19:12, Daniel Vetter wrote: > On Fri, Dec 04, 2015 at 05:43:33PM -0500, Ilia Mirkin wrote: >> On Fri, Dec 4, 2015 at 5:05 PM, Russell King - ARM Linux >> wrote: >>> On Fri, Dec 04, 2015 at 03:42:47PM -0500, Ilia Mirkin wrote: On Fri, Dec 4, 2015 at 3:31 PM, Russell King - ARM

[PATCH v3 1/3] modetest: introduce get_prop_info() for getting property id and type

2015-12-07 Thread Thierry Reding
free slot to rebase and send out again. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/303446e5/attachment.sig>

[PATCH 3/9] drm/vc4: Add create and map BO ioctls.

2015-12-07 Thread Eric Anholt
- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/cdc87ba5/attachment.sig>

[PATCH 2/3] radeon: Fix VCE ring test for Big-Endian systems

2015-12-07 Thread Michel Dänzer
On 05.12.2015 06:09, Oded Gabbay wrote: > This patch fixes the VCE ring test when running on Big-Endian machines. > Every write to the ring needs to be translated to little-endian. > > Signed-off-by: Oded Gabbay > Cc: stable at vger.kernel.org > --- > drivers/gpu/drm/radeon/radeon_vce.c | 32

[PATCH 26/28] drm: Move drm_display_mode an related docs into kerneldoc

2015-12-07 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 04:02:38PM +0100, Thierry Reding wrote: > On Fri, Dec 04, 2015 at 09:46:07AM +0100, Daniel Vetter wrote: > > @@ -140,12 +352,48 @@ struct drm_display_mode { > > int crtc_vsync_end; > > int crtc_vtotal; > > > > - /* Driver private mode info */ > > + /** > > +

[PATCH v3] staging/android: add TODO to de-stage android sync framework

2015-12-07 Thread Gustavo Padovan
Hi, any comments/update on this? Thanks Gustavo 2015-11-26 Gustavo Padovan : > From: Gustavo Padovan > > - remove CONFIG_SW_SYNC_USER, it is used only for testing/debugging and >should not be upstreamed. > - port CONFIG_SW_SYNC_USER tests interfaces to use debugfs somehow > -

[PATCH 24/28] drm: Document drm_connector_helper_funcs

2015-12-07 Thread Thierry Reding
the > > > > What's probe_modes? I've never heard of it. Did you mean ->fill_modes()? > > Also it's strange to say "fill into the ... function". Perhaps "pass > > into the ... function" instead? > > connector->probe*d*_modes *list* is what it should read. Fixed. As with all the other patches, with this and the nits fixed: Reviewed-by: Thierry Reding -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/1deb1759/attachment.sig>

[PATCH 28/28] drm/atomic-helper: Reject legacy flips on a disabled pipe

2015-12-07 Thread Thierry Reding
etting this? Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/5681a3ff/attachment.sig>

[PATCH 27/28] drm: Document drm_encoder/crtc_helper_funcs

2015-12-07 Thread Thierry Reding
o validate interactions and > + * update the CRTC to match what the encoder needs for the requested > + * connector. > + * > + * This function is used by the atomic helpers, but it is optional. > + * > + * NOTE: > + * > + * This function is ca

[PATCH 26/28] drm: Move drm_display_mode an related docs into kerneldoc

2015-12-07 Thread Thierry Reding
m. Not > + * used in a functional way. > + * > + * This value is in Hz. > + */ > + int vrefresh; > + > + /** > + * @hsync: > + * > + * Horizontal refresh rate, for debug output in human readable form. Not > + * used in a functional way. > + * > + * This value is in kHz. > + */ > + int hsync; > + > + /** > + * @picture_aspect_ratio: > + * > + * Filed for setting the HDMI picture aspect ratio of a mode. "Field". Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/398427ab/attachment-0001.sig>

[PATCH v11 01/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2015-12-07 Thread Yakir Yang
Split the dp core driver from exynos directory to bridge directory, and rename the core driver to analogix_dp_*, rename the platform code to exynos_dp. Beside the new analogix_dp driver would export six hooks. "analogix_dp_bind()" and "analogix_dp_unbind()" "analogix_dp_suspned()" and

[PATCH 24/28] drm: Document drm_connector_helper_funcs

2015-12-07 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 03:42:22PM +0100, Thierry Reding wrote: > On Fri, Dec 04, 2015 at 09:46:05AM +0100, Daniel Vetter wrote: > > Nothing special, except the somewhat awkard split in probe helper > > "awkward" > > > callbacks between here and drm_crtc_funcs. > > > > Signed-off-by: Daniel

[PATCH 01/20] drm: use __u{32,64} instead of uint{32,64}_t in virtgpu_drm.h

2015-12-07 Thread Mikko Rapeli
On Mon, Dec 07, 2015 at 01:29:41PM +, Emil Velikov wrote: > On 5 December 2015 at 21:03, Dave Airlie wrote: > > On 5 December 2015 at 00:22, Emil Velikov > > wrote: > >> On 30 November 2015 at 14:10, Gabriel Laskar > >> wrote: > >>> Signed-off-by: Gabriel Laskar > >>> CC: Emil Velikov >

[PATCH 25/28] drm/atomic-helper: Mention the new system/resume helpers the docs

2015-12-07 Thread Thierry Reding
sertions(+) Reviewed-by: Thierry Reding -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/4a171ee4/attachment.sig>

[PATCH 23/28] drm: Document drm_plane_helper_funcs

2015-12-07 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 03:27:59PM +0100, Thierry Reding wrote: > On Fri, Dec 04, 2015 at 09:46:04AM +0100, Daniel Vetter wrote: > > +* mus ensure that drm_atomic_helper_check_modeset() has been called > > +* beforehand. > > Perhaps mention that the default drm_atomic_helper_check() >

[PATCH 28/28] drm/atomic-helper: Reject legacy flips on a disabled pipe

2015-12-07 Thread Ville Syrjälä
On Fri, Dec 04, 2015 at 09:46:09AM +0100, Daniel Vetter wrote: > We want this for consistency with existing page_flip semantics. > > Since this spurred quite a discussion on IRC also document why we > reject even generation when the pipe is off: It's not that it's hard > to implement, but

[PATCH 24/28] drm: Document drm_connector_helper_funcs

2015-12-07 Thread Thierry Reding
e must "helpers" > + * still fully validate any mode passed in in a modeset request. > + * > + * RETURNS: > + * > + * Either DRM_MODE_OK or one of the failure reasons in enum The enum value is MODE_OK, without the DRM_ prefix. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/b9ff3659/attachment-0001.sig>

[PATCH 26/28] drm: Move drm_display_mode an related docs into kerneldoc

2015-12-07 Thread Ville Syrjälä
On Fri, Dec 04, 2015 at 09:46:07AM +0100, Daniel Vetter wrote: > This was in the documentation for modeset helper hooks, where it is a > bit misplaced. > > v2: Reindent the drm_mode_status enum, inspired by Ville. > > Cc: ville.syrjala at linux.intel.com > Signed-off-by: Daniel Vetter > --- >

[PATCH v10 01/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2015-12-07 Thread Yakir Yang
On 12/07/2015 02:38 PM, Yakir Yang wrote: > Split the dp core driver from exynos directory to bridge directory, > and rename the core driver to analogix_dp_*, rename the platform > code to exynos_dp. > > Beside the new analogix_dp driver would export six hooks. > "analogix_dp_bind()" and

[Intel-gfx] [PATCH 28/28] drm/atomic-helper: Reject legacy flips on a disabled pipe

2015-12-07 Thread Daniel Stone
Hi, On 4 December 2015 at 08:46, Daniel Vetter wrote: > + /* > +* Reject event generation for when a CRTC is off and stays off. It > +* wouldn't be hard to implement this, but userspace has a track > record > +* of happily burning through 100% cpu (or worse, crash)

[PATCH 23/28] drm: Document drm_plane_helper_funcs

2015-12-07 Thread Thierry Reding
unction to unconditionally disable a plane. > + * This hook is called in-between the ->atomic_begin and > + * ->atomic_flush() of _crtc_helper_funcs. It is an alternative to > + * @atomic_update, which will be called for disabling planes, too, if > + * the @atomic_disable hook isn't implemented. > + * > + * This hook is also useful to disable planes in preration of a modeset, "preparation" > + * by calling drm_atomic_helper_disable_planes_on_crtc() from the > + * ->disable hook in _crtc_helper_funcs. "->disable()" > + * > + * Note that the power state of the display pipe when this function is > + * called depends upon the exact helpers and calling sequence the driver > + * has picked. See drm_atomic_commit_planes for a discussion of the Parentheses. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/ae8681f8/attachment.sig>

[PATCH 0/4] Component helper updates

2015-12-07 Thread Russell King - ARM Linux
Given the lack of interest in these patches, I've put these into my "for-next" branch so that they can get some exposure in linux-next. On Mon, Nov 23, 2015 at 04:02:11PM +, Russell King - ARM Linux wrote: > Greg, > > These four patches update the component helper by: > * Removing the legacy

[PATCH v3 2/5] drm/dsi: Try to match non-DT dsi devices

2015-12-07 Thread Archit Taneja
On 12/07/2015 02:40 PM, Jani Nikula wrote: > On Mon, 07 Dec 2015, Archit Taneja wrote: >> On 12/07/2015 02:15 PM, Jani Nikula wrote: >>> On Mon, 07 Dec 2015, Archit Taneja wrote: Hi, On 11/30/2015 06:15 PM, kbuild test robot wrote: > Hi Archit, > > [auto build test

[PATCH v10 17/17] drm: bridge: analogix/dp: expand the look time for waiting AUX CH reply

2015-12-07 Thread Yakir Yang
After test on rockchiop platform, i found sometims driver would failed at reading EDID message. After debugging more, i found that it's okay to read_a byte from i2c, but it would failed at AUX transcation if we try to ready multi-bytes from i2c. Driver just can't received the AUX CH reply

[PATCH v10 16/17] drm: bridge: analogix/dp: add edid modes parse in get_modes method

2015-12-07 Thread Yakir Yang
Display Port monitor could support kinds of mode which indicate in monitor edid, not just one single display resolution which defined in panel or devivetree property display timing. Note: Gustavo Padovan try to remove the controller and phy power on function in bind time at bellow commit:

[PATCH v10 15/17] drm: bridge: analogix/dp: move hpd detect to connector detect function

2015-12-07 Thread Yakir Yang
This change just make a little clean to make code more like drm core expect, move hdp detect code from bridge->enable(), and place them into connector->detect(). Note: Gustavo Padovan try to remove the controller and phy power on function in bind time at bellow commit: drm/exynos: do not

[PATCH 22/28] drm/atomic-helper: Reject attempts at re-stealing encoders

2015-12-07 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 02:26:04PM +0100, Thierry Reding wrote: > On Fri, Dec 04, 2015 at 09:46:03AM +0100, Daniel Vetter wrote: > > This can happen when we run out of encoders for a multi-crtc modeset, > > or also when userspace is silly and tries to clone multiple connectors > > that need the

[PATCH v10 14/17] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-12-07 Thread Yakir Yang
Some edp screen do not have hpd signal, so we can't just return failed when hpd plug in detect failed. This is an hardware property, so we need add a devicetree property "analogix,need-force-hpd" to indicate this sutiation. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas ---

[PATCH v10 13/17] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2015-12-07 Thread Yakir Yang
There are some IP limit on rk3288 that only support 4 physical lanes of 2.7/1.6 Gbps/lane, so seprate them out by device_type flag. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v10: - Remove the surplus "plat_data" check. (Heiko) - switch (dp->plat_data &&

[PATCH v10 12/17] drm: bridge: analogix/dp: add some rk3288 special registers setting

2015-12-07 Thread Yakir Yang
RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes

[PATCH v10 11/17] drm: rockchip: vop: add bpc and color mode setting

2015-12-07 Thread Yakir Yang
From: Mark Yao Add bpc and color mode setting in rockchip_drm_vop driver, so connector could try to use the edid drm_display_info to config vop output mode. Signed-off-by: Mark Yao Signed-off-by: Yakir Yang --- Changes in v10: None Changes in v9: None Changes in v8: None

[PATCH v10 10/17] dt-bindings: add document for rockchip dp phy

2015-12-07 Thread Yakir Yang
Add dt binding documentation for rockchip display port PHY. Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner --- Changes in v10: None Changes in v9: None Changes in v8: - Remove the specific address in the example node name. (Heiko) Changes in v7: - Simplify the commit message. (Kishon)

[PATCH v10 09/17] phy: Add driver for rockchip Display Port PHY

2015-12-07 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner --- Changes in v10: - Fix the wrong macro value of GRF_EDP_REF_CLK_SEL_INTER_HIWORD_MASK BIT(4) -> BIT(20) Changes in

[PATCH v10 08/17] dt-bindings: add document for rockchip variant of analogix_dp

2015-12-07 Thread Yakir Yang
Rockchip DP driver is a helper driver of analogix_dp coder driver, so most of the DT property should be descriped in analogix_dp document. Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner --- Changes in v10: None Changes in v9: - Document more details for 'ports' property. Changes in v8:

[PATCH v10 07/17] drm: rockchip: dp: add rockchip platform dp driver

2015-12-07 Thread Yakir Yang
Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v10: - Correct the ROCKCHIP_ANALOGIX_DP indentation in Kconfig

[PATCH v10 06/17] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2015-12-07 Thread Yakir Yang
After exynos_dp have been split the common IP code into analogix_dp driver, the analogix_dp driver have deprecated some Samsung platform properties which could be dynamically parsed from EDID/MODE/DPCD message, so this is an update for Exynos DTS file for dp-controller. Beside the backward

[PATCH v10 05/17] dt-bindings: add document for analogix display port driver

2015-12-07 Thread Yakir Yang
Analogix dp driver is split from exynos dp driver, so we just make an copy of exynos_dp.txt, and then simplify exynos_dp.txt Beside update some exynos dtsi file with the latest change according to the devicetree binding documents. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas

[PATCH v10 04/17] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2015-12-07 Thread Yakir Yang
Both hsync/vsync polarity and interlace mode can be parsed from drm display mode, and dynamic_range and ycbcr_coeff can be judge by the video code. But presumably Exynos still relies on the DT properties, so take good use of mode_fixup() in to achieve the compatibility hacks. Signed-off-by:

[PATCH v10 03/17] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2015-12-07 Thread Yakir Yang
link_rate and lane_count already configured in analogix_dp_set_link_train(), so we don't need to config those repeatly after training finished, just remove them out. Beside Display Port 1.2 already support 5.4Gbps link rate, the maximum sets would change from {1.62Gbps, 2.7Gbps} to {1.62Gbps,

[PATCH v10 02/17] drm: bridge: analogix/dp: fix some obvious code style

2015-12-07 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Signed-off-by: Yakir Yang Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- Changes in v10: None Changes in v9: None Changes in v8: None

[PATCH v10 01/17] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2015-12-07 Thread Yakir Yang
Split the dp core driver from exynos directory to bridge directory, and rename the core driver to analogix_dp_*, rename the platform code to exynos_dp. Beside the new analogix_dp driver would export six hooks. "analogix_dp_bind()" and "analogix_dp_unbind()" "analogix_dp_suspned()" and

[PATCH v10 0/17] Add Analogix Core Display Port Driver

2015-12-07 Thread Yakir Yang
Hi all, The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller share the same IP, so a lot of parts can be re-used. I split the common code into bridge directory, then rk3288 and exynos only need to keep some platform code. Cause I can't find the exact IP name of exynos dp

[PATCH 21/28] drm: Kerneldoc for drm_mode_config_funcs

2015-12-07 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 02:14:48PM +0100, Thierry Reding wrote: > On Fri, Dec 04, 2015 at 09:46:02AM +0100, Daniel Vetter wrote: > > +* This list is exhaustive. Specifically this hook is not allowed to > > +* return -EINVAL (any invalid requests should be caught in > > +*

[PATCH v3 2/5] drm/dsi: Try to match non-DT dsi devices

2015-12-07 Thread Archit Taneja
On 12/07/2015 02:15 PM, Jani Nikula wrote: > On Mon, 07 Dec 2015, Archit Taneja wrote: >> Hi, >> >> On 11/30/2015 06:15 PM, kbuild test robot wrote: >>> Hi Archit, >>> >>> [auto build test ERROR on: v4.4-rc3] >>> [also build test ERROR on: next-20151127] >>> >>> url: >>>

[PATCH 22/28] drm/atomic-helper: Reject attempts at re-stealing encoders

2015-12-07 Thread Thierry Reding
xt attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/aec91ff4/attachment.sig>

DRM i2c module or bridge ?

2015-12-07 Thread Archit Taneja
On 11/12/2015 07:20 PM, Emil Velikov wrote: > On 12 November 2015 at 13:18, Thierry Reding > wrote: >> On Thu, Nov 12, 2015 at 12:48:51PM +, Emil Velikov wrote: >>> Hello Thierry, all, >>> >>> Inspired by a recent discussion I was started wondering - where is the >>> cut between DRM i2c

[PATCH 21/28] drm: Kerneldoc for drm_mode_config_funcs

2015-12-07 Thread Thierry Reding
ks as part of the deadlock avoidance dance > + * implemented in drm_modeset_lock_backoff(). > + * > + * Any duplicated state must be invalidated since a concurrent atomic > + * update might change it, and the drm atomic interfaces always apply > + * updates as relative changes to the current state. > + * > + * Drivers who implement this must call drm_atomic_state_default_clear() "Drivers that implement ..." > + * to clear common state. > + */ > void (*atomic_state_clear)(struct drm_atomic_state *state); > + > + /** > + * @atomic_state_free: > + * > + * This hook needs driver private resources and the _atomic_state Did you mean "This hook frees ..."? > + * itself. Note that the core first calls drm_atomic_state_clear to Parentheses after drm_atomic_state_clear? Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/4f151480/attachment-0001.sig>

[PATCH 08/15] drm: omapdrm: gem: Mask out private flags passed from userspace

2015-12-07 Thread Emil Velikov
On 4 December 2015 at 22:27, Laurent Pinchart wrote: > The 8 high order bits of the buffer flags are reserved for internal use. > Mask them out from the flags passed by userspace. > Ouch... I know that the Intel guys are pretty rigorous about input validation, although I wonder how many drivers

[PATCH v5 4/4] MAINTAINERS: Add Liviu Dudau as maintainer for ARM HDLCD driver.

2015-12-07 Thread Liviu Dudau
On Mon, Dec 07, 2015 at 01:25:10PM +, Emil Velikov wrote: > On 7 December 2015 at 12:11, Liviu Dudau wrote: > > Update MAINTAINERS file for HDLCD driver. > > > > Cc: Andrew Morton > > Cc: Arnd Bergmann > > Cc: Mauro Carvalho Chehab > > Cc: Greg KH > > Cc: Joe Perches > > Cc: Jiri Slaby

[PATCH 07/28] drm: Update drm_plane_funcs kerneldoc

2015-12-07 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 01:43:49PM +0100, Thierry Reding wrote: > On Mon, Dec 07, 2015 at 01:34:16PM +0100, Daniel Vetter wrote: > > On Mon, Dec 07, 2015 at 12:46:38PM +0100, Thierry Reding wrote: > > > On Fri, Dec 04, 2015 at 09:45:48AM +0100, Daniel Vetter wrote: > > > > diff --git

[PATCH 2/2] drm/dp/mst: save vcpi with payloads

2015-12-07 Thread Harry Wentland
This makes it possibly for drivers to find the associated mst_port by looking at the payload allocation table. Signed-off-by: Harry Wentland --- drivers/gpu/drm/drm_dp_mst_topology.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c

[PATCH 1/2] drm/dp/mst: reply with ACK for UP reqs

2015-12-07 Thread Harry Wentland
From: Mykola Lysenko Currently we reply with NACK to UP requests which might confuse receivers. We haven't seen any actual issues with this but should still respond to UP requests correctly. Signed-off-by: Mykola Lysenko --- drivers/gpu/drm/drm_dp_mst_topology.c | 2 +-

[PATCH 0/2] Two small patches for MST

2015-12-07 Thread Harry Wentland
Two minor patches for MST here. We were replying NACK to UP requests when we intended to ACK them. We were also not filling in the vcpi field for mst_mgr->payloads although it's defined. Saving the vcpi simplifies the new amdgpu MST implementation that we currently work on. Harry Wentland (1):

[PATCH 16/28] drm: Document drm_atomic_*_get_property

2015-12-07 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 01:01:35PM +0100, Thierry Reding wrote: > On Fri, Dec 04, 2015 at 09:45:57AM +0100, Daniel Vetter wrote: > > Yes these are internal functions and not exported and we generally > > don't document them. But for symmetry with the _set_property functions > > (which are exported

[PATCH 07/28] drm: Update drm_plane_funcs kerneldoc

2015-12-07 Thread Thierry Reding
- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/9c3cf3f5/attachment.sig>

DRM i2c module or bridge ?

2015-12-07 Thread Emil Velikov
Hi Archit, On 7 December 2015 at 08:47, Archit Taneja wrote: > On 11/12/2015 07:20 PM, Emil Velikov wrote: >> On 12 November 2015 at 13:18, Thierry Reding >> wrote: >>> >>> On Thu, Nov 12, 2015 at 12:48:51PM +, Emil Velikov wrote: Hello Thierry, all, Inspired by a recent

[PATCH 20/28] drm: Add kerneldoc for drm_framebuffer_funcs

2015-12-07 Thread Thierry Reding
n on struct drm_mode_fb_dirty_cmd as all the ...". Oh and I guess also _mode_fb_dirty_cmd for the cross-reference? Again, fine if this is all fixed-up in a follow-up patch, since this is all from moving the documentation: Reviewed-by: Thierry Reding -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/a73493a4/attachment.sig>

[PATCH 07/28] drm: Update drm_plane_funcs kerneldoc

2015-12-07 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 12:46:38PM +0100, Thierry Reding wrote: > On Fri, Dec 04, 2015 at 09:45:48AM +0100, Daniel Vetter wrote: > > diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h > [...] > > + /** > > +* @destroy: > > +* > > +* Clean up CRTC resources. This is only

[PATCH] drm: do not use device name as a format string

2015-12-07 Thread Thierry Reding
ust ditch the printf stuff from set_unique. > Nicolas, you're up for that? Looking at all the callsites of drm_dev_set_unique() it seems like all of the drivers (with the exception of vgem) use dev_name() on the same device that's already passed into drm_dev_alloc(), so perhaps another alternative would be to have drm_dev_alloc() set the unique name by default and keep the function for cases where it needs to be set explicitly (like for vgem). vgem passes drm_dev_alloc() a NULL device, so that could serve as condition. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/ca73220d/attachment.sig>

[PATCH 01/20] drm: use __u{32, 64} instead of uint{32, 64}_t in virtgpu_drm.h

2015-12-07 Thread Emil Velikov
On 5 December 2015 at 21:03, Dave Airlie wrote: > On 5 December 2015 at 00:22, Emil Velikov wrote: >> On 30 November 2015 at 14:10, Gabriel Laskar wrote: >>> Signed-off-by: Gabriel Laskar >>> CC: Emil Velikov >>> CC: Mikko Rapeli >>> >>> --- >>> include/uapi/drm/virtgpu_drm.h | 98 >>>

[PATCH 03/28] drm: Reorganize helper vtables and their docs

2015-12-07 Thread Thierry Reding
es that you > > extracted these from? > > Done for the above two - all the stuff below is just moved and would > conflict massively with later patches. So left that as per our irc > discussion. For the record, I'm fine with leave the below as-is and fix it up in a follow-up patch. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/39b60c5e/attachment.sig>

[PATCH] drm: do not use device name as a format string

2015-12-07 Thread Boris Brezillon
On Wed, 18 Nov 2015 18:58:18 +0100 Nicolas Iooss wrote: > drm_dev_set_unique() formats its parameter using kvasprintf() but many > of its callers directly pass dev_name(dev) as printf format string, > without any format parameter. This can cause some issues when the > device name contains '%'

[PATCH 19/28] drm: document drm_crtc_funcs

2015-12-07 Thread Thierry Reding
uffer until the > + * flip operation has completed and the old framebuffer is not longer "no longer" > + * visible. This requirement has been lifted, and userspace is instead > + * expected to request delivery of a event and wait with recycling old "an event" Otherwise: Reviewed-by: Thierry Reding -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/c0b3d804/attachment.sig>

[PATCH v5 4/4] MAINTAINERS: Add Liviu Dudau as maintainer for ARM HDLCD driver.

2015-12-07 Thread Emil Velikov
On 7 December 2015 at 12:11, Liviu Dudau wrote: > Update MAINTAINERS file for HDLCD driver. > > Cc: Andrew Morton > Cc: Arnd Bergmann > Cc: Mauro Carvalho Chehab > Cc: Greg KH > Cc: Joe Perches > Cc: Jiri Slaby > > Signed-off-by: Liviu Dudau > --- > MAINTAINERS | 6 ++ > 1 file

[PATCH v5 4/4] MAINTAINERS: Add Liviu Dudau as maintainer for ARM HDLCD driver.

2015-12-07 Thread Jiri Slaby
On 12/07/2015, 01:11 PM, Liviu Dudau wrote: > Update MAINTAINERS file for HDLCD driver. > > Cc: Andrew Morton > Cc: Arnd Bergmann > Cc: Mauro Carvalho Chehab > Cc: Greg KH > Cc: Joe Perches > Cc: Jiri Slaby Please drop all of us who edited MAINTAINERS in the last decade from your CC list

[PATCH 18/28] drm: connector->dpms is not optional

2015-12-07 Thread Thierry Reding
gnature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/90ce6cc7/attachment.sig>

[PATCH 17/28] drm: Document drm_connector_funcs

2015-12-07 Thread Thierry Reding
ype: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/9482bfd2/attachment.sig>

[PATCH 16/28] drm: Document drm_atomic_*_get_property

2015-12-07 Thread Thierry Reding
ding "return location for the property value". But either way: Reviewed-by: Thierry Reding -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/7425a4b7/attachment.sig>

[PATCH] drm: Move encoder->save/restore into nouveau

2015-12-07 Thread Thierry Reding
ns(-) Reviewed-by: Thierry Reding -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/ed1fe78f/attachment.sig>

[PATCH 03/28] drm: Reorganize helper vtables and their docs

2015-12-07 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 12:00:09PM +0100, Thierry Reding wrote: > On Fri, Dec 04, 2015 at 09:45:44AM +0100, Daniel Vetter wrote: > [...] > > diff --git a/drivers/gpu/drm/drm_crtc_helper.c > > b/drivers/gpu/drm/drm_crtc_helper.c > > index 10d0989db273..077e48d3cac2 100644 > > ---

[PATCH 14/28] drm: Remove crtc/connector->save/restore hooks

2015-12-07 Thread Thierry Reding
> 1 file changed, 11 deletions(-) Reviewed-by: Thierry Reding -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/bfa5b8d4/attachment-0001.sig>

[PATCH 01/28] drm: Polish fbdev helper struct docs

2015-12-07 Thread Thierry Reding
cy wrt upper-case of abbrevations in > the docs. I think we should do this as a trivial patch thing for newbies. Fair enough. Thierry > > > * @fb: Scanout framebuffer object > > > * @dev: DRM device > > > > There seems to be an extra space between the : and the description. That > > was already there, but maybe worth a follow-up. > > I think fix that up while applying, same for the others. Okay, either way, this is a good improvement, so: Reviewed-by: Thierry Reding -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/e9e3f4a6/attachment.sig>

[PATCH 12/28] drm/gma500: Move to private save/restore hooks

2015-12-07 Thread Thierry Reding
ed, 37 insertions(+), 26 deletions(-) Reviewed-by: Thierry Reding -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/fb911cb4/attachment.sig>

[PATCH] drm/nouveau: Use private save/restore hooks for CRTCs

2015-12-07 Thread Thierry Reding
tions(+), 7 deletions(-) Looks good to me: Reviewed-by: Thierry Reding -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/e8286750/attachment.sig>

[PATCH 01/28] drm: Polish fbdev helper struct docs

2015-12-07 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 11:45:22AM +0100, Thierry Reding wrote: > On Fri, Dec 04, 2015 at 09:45:42AM +0100, Daniel Vetter wrote: > > Mostly this is just adding extensive docs for the callbacks, but also > > a few other additions. > > > > v2: Use FIXME comments to annotate helper hooks that should

[PATCH 11/28] drm/vmwgfx: Drop dummy save/restore hooks

2015-12-07 Thread Thierry Reding
signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/ba80bd63/attachment-0001.sig>

[PATCH 10/28] drm/virtio: Drop dummy save/restore functions

2015-12-07 Thread Thierry Reding
ed-by: Thierry Reding -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/f413072f/attachment.sig>

[PATCH 09/28] drm/qxl: Drop dummy save/restore hooks

2015-12-07 Thread Thierry Reding
-- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/166271e7/attachment.sig>

[PATCH 08/28] drm/noveau: Ditch NULL save/restore hook assignments

2015-12-07 Thread Thierry Reding
asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/6b8fe600/attachment.sig>

[PATCH] drm: do not use device name as a format string

2015-12-07 Thread Daniel Vetter
On Mon, Dec 07, 2015 at 11:53:01AM +0200, Jani Nikula wrote: > On Mon, 07 Dec 2015, Daniel Vetter wrote: > > On Sun, Dec 06, 2015 at 11:16:32AM +0100, Nicolas Iooss wrote: > >> On 12/06/2015 10:35 AM, Daniel Vetter wrote: > >> >> On 11/18/2015 06:58 PM, Nicolas Iooss wrote: > >> >>>

  1   2   >