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

2015-12-07 Thread Inki Dae
Hi Javier, 2015-12-03 22:05 GMT+09:00 Javier Martinez Canillas : > > Hello Inki, > > On 12/02/2015 11:11 PM, Inki Dae wrote: >> Hi Javier, >> >> 2015년 12월 03일 00:04에 Javier Martinez Canillas 이(가) 쓴 글: >>> Hello Inki, >>> >>> On 12/02/2015 08:57 AM, Inki Dae wrote: This patch a

[PATCH] drm: msm: dsi: Added missing mutex_unlock

2015-12-07 Thread Saurabh Sengar
in case of failed to get iova, function was returning without releasing the mutex. Added it. Signed-off-by: Saurabh Sengar --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers/gpu/drm/msm/dsi/dsi_

[PATCH] gpu: host1x: mipi: Added missing mutex_unlock

2015-12-07 Thread Saurabh Sengar
In case of error too function should return after releasing the mutex Signed-off-by: Saurabh Sengar --- drivers/gpu/host1x/mipi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/host1x/mipi.c b/drivers/gpu/host1x/mipi.c index 52a6fd2..6e559a9 100644 --- a/drivers/gpu/host1x/mipi.

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

2015-12-07 Thread bugzilla-dae...@freedesktop.org
ves/dri-devel/attachments/20151207/94f8fdca/attachment.html>

[PATCH] amdgpu: add amdgpu_find_bo_by_cpu_mapping interface V2

2015-12-07 Thread Chunming Zhou
userspace needs to know if the user memory is from BO or malloc. V2: add bo_table_mutex protection. Change-Id: Ie2dbc13f1c02bc0a996f64f9db83a21da63c1d70 Signed-off-by: Chunming Zhou Reviewed-by: Jammy Zhou (V1) Reviewed-by: Christian König (V1) --- amdgpu/amdgpu.h | 24 ++

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

2015-12-07 Thread Archit Taneja
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: > https://github.com/0day-ci/linux/commits/Archit-Taneja/drm-dsi-DSI-for-devices-with-different-control-bus/20151130-200725 > config:

[Bug 93270] Only one of LVDS and VGA-0 work on HP Pavilion m6 with Radeon HD 7660G

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/cba5d305/attachment-0001.html>

[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 control

[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 "analogix_dp

[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 Change

[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, 2.7G

[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: Yakir

[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 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 compati

[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 to

[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 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 v

[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) C

[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 Changes in v7: None Ch

[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 in

[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 && d

[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 --- Chang

[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 s

[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 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 command,

[PATCH v2 10/10] dt-bindings: Add DSIv2 documentation

2015-12-07 Thread Archit Taneja
On 12/02/2015 02:04 PM, Stephen Boyd wrote: > On 12/02, Stephen Boyd wrote: >> >> My only thought there would be to make of_clk_set_defaults() wait >> until both clocks are registered before it does any parent >> setting. But only in the case where the assigned parents contains >> a clock that is

[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 "analogi

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

2015-12-07 Thread Daniel Vetter
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: > >>> drm_dev_set_unique() formats its parameter using kvasprintf() but many > >>> of its callers directly pass dev_name(dev) as printf for

[PATCH 03/10] i915: Replace "hweight8(dev_priv->info.subslice_7eu[i]) != 1" with "!is_power_of_2(dev_priv->info.subslice_7eu[i])"

2015-12-07 Thread Daniel Vetter
On Sun, Dec 06, 2015 at 06:26:30PM +0800, Zhaoxiu Zeng wrote: > From: Zeng Zhaoxiu > > Signed-off-by: Zeng Zhaoxiu Queued for -next, thanks for the patch. -Daniel > --- > drivers/gpu/drm/i915/intel_ringbuffer.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/driver

[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 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 "analogix_dp

[Bug 93270] Only one of LVDS and VGA-0 work on HP Pavilion m6 with Radeon HD 7660G

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

[Bug 93270] Only one of LVDS and VGA-0 work on HP Pavilion m6 with Radeon HD 7660G

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/70079f95/attachment.html>

[PATCHv6 5/5] drm: bridge: anx78xx: Add anx78xx driver support by analogix.

2015-12-07 Thread Dan Carpenter
On Fri, Dec 04, 2015 at 09:35:07AM +0100, Enric Balletbo i Serra wrote: > +static int sp_wait_aux_op_finish(struct anx78xx *anx78xx) > +{ > + u8 errcnt; > + u8 val; > + struct device *dev = &anx78xx->client->dev; > + > + errcnt = 150; > + while (errcnt--) { > + sp_re

[PATCH 00/29] dev->struct_mutex crusade, once more

2015-12-07 Thread Daniel Vetter
On Mon, Nov 23, 2015 at 10:32:33AM +0100, Daniel Vetter wrote: > Hi all, > > Since Daniel Stone pointed out in the last round that I fumbled one locked vs. > unlocked case I audited all the drivers once more and uprooted a bunch more > offenders. They're mostly in error paths, but in case anyone w

[Bug 93270] Only one of LVDS and VGA-0 work on HP Pavilion m6 with Radeon HD 7660G

2015-12-07 Thread bugzilla-dae...@freedesktop.org
on utility manually for it to see the new display. -- 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/0f98f9a3/attachment-0001.html>

[PATCH] amdgpu: add amdgpu_find_bo_by_cpu_mapping interface V2

2015-12-07 Thread Christian König
On 07.12.2015 03:41, Chunming Zhou wrote: > userspace needs to know if the user memory is from BO or malloc. > V2: add bo_table_mutex protection. > > Change-Id: Ie2dbc13f1c02bc0a996f64f9db83a21da63c1d70 > Signed-off-by: Chunming Zhou > Reviewed-by: Jammy Zhou (V1) > Reviewed-by: Christian König

[PATCH 03/10] i915: Replace "hweight8(dev_priv->info.subslice_7eu[i]) != 1" with "!is_power_of_2(dev_priv->info.subslice_7eu[i])"

2015-12-07 Thread Jani Nikula
On Sun, 06 Dec 2015, Zhaoxiu Zeng wrote: > From: Zeng Zhaoxiu > > Signed-off-by: Zeng Zhaoxiu I'd like to see a commit message describing what is done and why, even for trivial changes. Now the subject line is essentially the diff in plain English, which adds no information to the patch itself.

[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 Li

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

2015-12-07 Thread Jani Nikula
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: >> https://github.com/0day-ci/linux/commits/Archit-Taneja/drm-dsi-DSI-for-device

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 mod

[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: >>> https://github.com/0

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

2015-12-07 Thread Jani Nikula
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 ERROR on: v4.4-rc3] [also build test ERROR on: next-

[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 ER

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

2015-12-07 Thread Jani Nikula
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: >> >>> drm_dev_set_unique() formats its parameter using kvasprintf() but many >> >>> of its

[PATCH 2/3] drm/atomic: Add __drm_atomic_helper_connector_reset.

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/72a9c041/attachment.sig>

[PATCH 2/3] drm/atomic: Add __drm_atomic_helper_connector_reset.

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

[PATCH 3/3] drm/tegra: Use __drm_atomic_helper_reset_connector for subclassing connector state.

2015-12-07 Thread Thierry Reding
ry -- 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/73d5cb9b/attachment-0001.sig>

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

2015-12-07 Thread Jani Nikula
On Mon, 07 Dec 2015, Archit Taneja wrote: > 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: > Any suggestions on how to fix this? Is it ok to make DRM_MIPI_DS

[PATCH 8/9] drm/vc4: Add support for async pageflips.

2015-12-07 Thread Daniel Stone
Hi, On 4 December 2015 at 01:42, Eric Anholt wrote: > Daniel Stone writes: >> On 1 December 2015 at 20:35, Eric Anholt wrote: >>> An async pageflip stores the modeset to be done and executes it once >>> the BOs are ready to be displayed. This gets us about 3x performance >>> in full screen ren

[PATCH 5/9] drm/atomic: add connector mask to drm_crtc_state.

2015-12-07 Thread Thierry Reding
vailable URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/4874e4e0/attachment.sig>

[PATCH 8/9] drm/atomic: Remove drm_atomic_connectors_for_crtc.

2015-12-07 Thread Thierry Reding
gation right), 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/db254c7b/attachment.sig>

[PATCH 6/9] drm/i915: Update connector_mask during readout.

2015-12-07 Thread Thierry Reding
- 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/70d873e9/attachment.sig>

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

2015-12-07 Thread Thierry Reding
* @delayed_hotplug: > + * > + * A hotplug was received while fbdev wasn't in control of the drm > + * device, i.e. another kms master was active. The output configuration > + * needs to be reprobe when fbdev is in control again. s/drm/DRM/, s/kms/KMS/ Otherwise looks really good. 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/a8b742e5/attachment-0001.sig>

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

2015-12-07 Thread Thierry Reding
c update > + * > + * The helper operations are called by the mid-layer CRTC helper. > + * > + * Note that with atomic helpers @dpms, @prepare and @commit hooks are > + * deprecated. Used @enable and @disable instead exclusively. Same comment as for the CRTC helper functions. 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/80214973/attachment.sig>

[PATCH 02/28] drm: Move LEAVE/ENTER_ATOMIC_MODESET to fbdev helpers

2015-12-07 Thread Thierry Reding
7 insertions(+), 4 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/ca87e3dd/attachment.sig>

[PATCH 04/28] drm: Make helper vtable pointers type-safe

2015-12-07 Thread Thierry Reding
y: 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/f8682219/attachment.sig>

[PATCH 05/28] drm: Merge helper docbook into kerneldoc comments

2015-12-07 Thread Thierry Reding
connector status is > + * connector_status_connected, standard VESA DMT modes up to 1024x768 are > + * automatically added to the modes list by a call to > + * drm_add_modes_noedid(). > + * > + * The function then filters out modes larger than Why wrap here? There's a lot of e

[PATCH 06/28] drm/bridge: Improve kerneldoc

2015-12-07 Thread Thierry Reding
* bridge's ->post_disaable function. If the preceding element is a > + * &drm_encoder it's called right after the encoder's ->disable, > + * ->prepare or ->dpms hook from struct &drm_encoder_helper_funcs. Same comments as for ->disable(). Perhaps this should also say what the difference is to ->disable()? But maybe that's more suitable for a follow-up patch. > + * > + * The bridge must assume that the display pipe (i.e. clocks and timing > + * singals) feeding it is no longer running when this callback is "signals". I guess this is the difference. Perhaps mention in the above paragraph that ->post_disable() is called after ->disable(), though that much should be obvious. 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/7629f569/attachment-0001.sig>

[PATCH 07/28] drm: Update drm_plane_funcs kerneldoc

2015-12-07 Thread Thierry Reding
led at runtime > + * when a connector is being hot-unplugged. Again, perhaps drop the "only" because it's inconsistent when followed by "but can also". Most of the comments on the CRTC helpers do apply to the connector helpers as well, so I haven't repeated them. 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/7833adbe/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: > >> >>> drm_dev_set_un

[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 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 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 11/28] drm/vmwgfx: Drop dummy save/restore hooks

2015-12-07 Thread Thierry Reding
ture Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151207/ba80bd63/attachment-0001.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] drm/nouveau: Use private save/restore hooks for CRTCs

2015-12-07 Thread Thierry Reding
insertions(+), 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 12/28] drm/gma500: Move to private save/restore hooks

2015-12-07 Thread Thierry Reding
changed, 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 01/28] drm: Polish fbdev helper struct docs

2015-12-07 Thread Thierry Reding
nconsistency 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 14/28] drm: Remove crtc/connector->save/restore hooks

2015-12-07 Thread Thierry Reding
.h | 11 --- > 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 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 > > --- a/drivers/gpu/drm/

[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 16/28] drm: Document drm_atomic_*_get_property

2015-12-07 Thread Thierry Reding
er the wording "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 17/28] drm: Document drm_connector_funcs

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

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

2015-12-07 Thread Thierry Reding
scrubbed... Name: signature.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 v5 3/4] arm64: Juno: Add HDLCD support to the Juno boards.

2015-12-07 Thread Liviu Dudau
ARM's Juno board has two HDLCD controllers, each linked to an NXP TDA19988 HDMI transmitter that provides output encoding. Add them to the device tree. Signed-off-by: Liviu Dudau --- arch/arm64/boot/dts/arm/juno-base.dtsi | 46 +++--- 1 file changed, 42 insertions(+),

[PATCH v5 1/4] drm: arm: Add DT bindings documentation for HDLCD driver.

2015-12-07 Thread Liviu Dudau
Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Signed-off-by: Liviu Dudau Acked-by: Rob Herring --- .../devicetree/bindings/display/arm,hdlcd.txt | 79 ++ 1 file changed, 79 insertions(+) create mode 100644 Documentation/devicetree/bindings/display

[PATCH v5 0/4] drm: Add support for the ARM HDLCD display controller

2015-12-07 Thread Liviu Dudau
This series adds support for ARM's HDLCD display controller found in Juno and ARM TC2 Coretile. The HDLCD outputs an RGB stream that feeds into a single digital encoder (DVI or HDMI). The dependencies for this patch series are now queued for the next release or are already in the mainline. Only t

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

2015-12-07 Thread Liviu Dudau
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 changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index cba790b..

[PATCH v5 2/4] drm: Add support for ARM's HDLCD controller.

2015-12-07 Thread Liviu Dudau
The HDLCD controller is a display controller that supports resolutions up to 4096x4096 pixels. It is present on various development boards produced by ARM Ltd and emulated by the latest Fast Models from the company. Cc: David Airlie Cc: Robin Murphy Signed-off-by: Liviu Dudau Acked-by: Daniel

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

2015-12-07 Thread Javier Martinez Canillas
[adding Krzysztof and Kukjin to cc list] Hello Inki, On 12/06/2015 01:25 PM, Inki Dae wrote: > Hi Javier, > > 2015-12-03 22:05 GMT+09:00 Javier Martinez Canillas osg.samsung.com>: >> >> Hello Inki, >> >> On 12/02/2015 11:11 PM, Inki Dae wrote: >>> Hi Javier, >>> >>> 2015년 12월 03일 00:04에

[PATCH 12/12] ARM: dts: imx6: add Vivante GPU nodes

2015-12-07 Thread Russell King - ARM Linux
On Fri, Dec 04, 2015 at 03:00:04PM +0100, Lucas Stach wrote: > This adds the device nodes for 2D, 3D and VG GPU cores. > > Signed-off-by: Russell King > Signed-off-by: Lucas Stach This should have been copied to the arm-soc people, as we'll need their acks to keep this part of the series, or it

[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 in

[PATCH 19/28] drm: document drm_crtc_funcs

2015-12-07 Thread Thierry Reding
ny rendering to the old framebuffer 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] 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 '%' ch

[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 Thierry Reding
ev_set_unique()... > > Ok, then I guess we can just 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 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 call

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

2015-12-07 Thread Thierry Reding
ction. Perhaps "for more information on struct drm_mode_fb_dirty_cmd as all the ...". Oh and I guess also &drm_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 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:19:35PM +0100, Jiri Slaby wrote: > 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 Hi Jir

[PATCH 07/28] drm: Update drm_plane_funcs kerneldoc

2015-12-07 Thread Thierry Reding
cts, not the roadmap. 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/9c3cf3f5/attachment.sig>

[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 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 an

[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 bridge.

[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: Ink

[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 g

[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 betwen the DP port, a bridge

[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 edfd6e3..2ac1d4

[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 a/include/drm/

[PATCH 21/28] drm: Kerneldoc for drm_mode_config_funcs

2015-12-07 Thread Thierry Reding
alidated 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 &drm_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>

  1   2   >