[patch] drm/tegra: sor: Double free on error

2016-07-06 Thread Alexandre Courbot
On Mon, Jul 4, 2016 at 4:45 PM, Dan Carpenter wrote: > "brick" is allocated with devm_kzalloc() so freeing it with kfree() > leads to a double free. We can just delete it. That makes perfect sense. Reviewed-by: Alexandre Courbot

[Bug 96835] "gallium: Force blend color to 16-byte alignment" crash with "-march=native -O3" causes some 32bit games to crash

2016-07-06 Thread bugzilla-dae...@freedesktop.org
2.4.3 -- Sometimes crashes World of Warcraft 3.3.5 -- Most times works -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/cf0b7074/attachment.html>

[PATCH -next] drm/nouveau/device: fix return value check in nvkm_device_tegra_probe_iommu()

2016-07-06 Thread Alexandre Courbot
On Wed, Jul 6, 2016 at 9:23 PM, wrote: > From: Wei Yongjun > > In case of error, the function iommu_domain_alloc() returns NULL > pointer not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. Reviewed-by: Alexandre Courbot Thanks!

[PATCH RESEND] drm/imx: check the value returned by regulator_set_voltage()

2016-07-06 Thread Fabio Estevam
From: Fabio Estevam regulator_set_voltage() may fail, so we better check its return value and propagate it in the case of error. Signed-off-by: Fabio Estevam --- drivers/gpu/drm/imx/imx-tve.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/imx/imx-tve.c b

[PATCH v7 2/2] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-07-06 Thread Emil Velikov
On 4 July 2016 at 07:27, Vinay Simha wrote: > On Mon, Jul 4, 2016 at 4:22 AM, Emil Velikov > wrote: >> On 28 June 2016 at 16:59, Vinay Simha wrote: >>> hi, >>> >>> Any further comments or reviews? >>> >> You still haven't covered my earlier suggestions, as such I cannot >> give you a r-b :-( Th

[PATCH libdrm 1/1] xf86drm.c: Fix mix of tabs and spaces

2016-07-06 Thread Emil Velikov
On 30 June 2016 at 19:22, Jan Vesely wrote: > Remove whitespace at the end of line. > diff -b shows only two removed lines > > Signed-off-by: Jan Vesely Pushed to master. Thanks Jan ! -Emil

[PATCH] amdgpu drm-fixes-4.7

2016-07-06 Thread Alex Deucher
Hi Dave, Just a couple of fixes for amdgpu for 4.7: - 2 small tonga powerplay fixes - Additional Polaris fixes The following changes since commit 88c087109b5fedaf9b61839d08543fdaf9d5ec39: Merge tag 'drm-intel-fixes-2016-06-30' of git://anongit.freedesktop.org/drm-intel into drm-fixes (2016-0

[PATCH 3/3] drm/imx: turn remaining container_of macros into inline functions

2016-07-06 Thread Philipp Zabel
This allows the compiler to do type checking. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/imx-ldb.c | 7 +-- drivers/gpu/drm/imx/imx-tve.c | 7 +-- drivers/gpu/drm/imx/ipuv3-crtc.c | 5 - drivers/gpu/drm/imx/ipuv3-plane.c | 5 - drivers/gpu/d

[PATCH 2/3] drm/imx: store internal bus configuration in crtc state

2016-07-06 Thread Philipp Zabel
The internal bus configuration is imx-drm specific crtc state. Store it in imx_crtc_state and let the encoder atomic_check callbacks determine bus_flags, bus_format and the sync pins, possibly taking into account the mode and the connector display info. Signed-off-by: Philipp Zabel --- drivers/g

[PATCH 1/3] drm/imx: remove empty mode_set encoder callbacks

2016-07-06 Thread Philipp Zabel
With atomic modeset support, these callbacks are optional. Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/dw_hdmi-imx.c | 7 --- drivers/gpu/drm/imx/parallel-display.c | 7 --- 2 files changed, 14 deletions(-) diff --git a/drivers/gpu/drm/imx/dw_hdmi-imx.c b/drivers/gpu/drm/

[PATCH 0/3] imx drm atomic mode setting fixups

2016-07-06 Thread Philipp Zabel
Hi, I have tested Liu Ying's imx drm atomic mode setting conversion series [1] with three different outputs (DPI + eDP bridge, LVDS + panel, HDMI) and noticed that in the LDB case bus_format handling doesn't work correctly if the format is determined by the panel instead of the device tree. In tha

[PATCH] Android: strip out header files from sources list

2016-07-06 Thread Emil Velikov
On 5 July 2016 at 21:21, Rob Herring wrote: > AOSP master now errors if LOCAL_SRC_FILES contains headers, so filter > out header files from the source lists. > Pushed to master. Thanks Rob. -Emil

[Bug 94231] Problems compiling libdrm since glibc 2.23

2016-07-06 Thread bugzilla-dae...@freedesktop.org
this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/59595d8d/attachment.html>

[Bug 93826] 144Hz graphic glitches and bad refresh rate

2016-07-06 Thread bugzilla-dae...@freedesktop.org
: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/74a09905/attachment.html>

[REPOST v3 2/2] drm/panel: simple: Add Documentation for Sharp LQ101K1LY04

2016-07-06 Thread Joshua Clayton
Document basic simple-panel support for Sharp LQ101K1LY04 Signed-off-by: Joshua Clayton Acked-by: Rob Herring --- .../devicetree/bindings/display/panel/sharp,lq101k1ly04.txt| 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/

[REPOST v3 1/2] drm/panel: simple: Add support for Sharp LQ101K1LY04

2016-07-06 Thread Joshua Clayton
Add simple-panel support for the Sharp LQ101K1LY04i, which is a 10 inch WXGA (1280x800) lvds panel. Signed-off-by: Joshua Clayton --- Reposting again in hopes of getting this into 4.8 drivers/gpu/drm/panel/panel-simple.c | 27 +++ 1 file changed, 27 insertions(+) dif

[PATCH] drm/exynos: make fbdev support really optional

2016-07-06 Thread Tobias Jakobi
Ping! - Tobias Tobias Jakobi wrote: > Currently enabling Exynos DRM support automatically pulls in > lots of fbdev dependencies. However these deps are > unnecessary since DRM core already enables them when > needed. > > Signed-off-by: Tobias Jakobi > --- > drivers/gpu/drm/exynos/Kconfig | 4 -

Pageflipping bugs in drm-next on at least Ironlake and Ivybridge.

2016-07-06 Thread Mario Kleiner
On 07/06/2016 03:05 PM, Chris Wilson wrote: > On Wed, Jul 06, 2016 at 12:17:55PM +0200, Mario Kleiner wrote: >> Since i pulled the current drm-next tree i see strong flicker and >> visual corruption during pageflipping, both in my own app, but also >> in KDE4 and KDE5 Plasma with desktop compositio

DRM_FBDEV_EMULATION with 2 or more displays

2016-07-06 Thread Alexander Shiyan
Hello. I have a question to experts of GPU/DRM subsystem. Can I use a frame buffer for each display or subsystem involves only a single frame buffer in emulation mode (DRM_FBDEV_EMULATION option)? In my current configuration is created, only one frame buffer for the FIRST display (fb0). Are there

Pageflipping bugs in drm-next on at least Ironlake and Ivybridge.

2016-07-06 Thread Chris Wilson
On Wed, Jul 06, 2016 at 12:17:55PM +0200, Mario Kleiner wrote: > Since i pulled the current drm-next tree i see strong flicker and > visual corruption during pageflipping, both in my own app, but also > in KDE4 and KDE5 Plasma with desktop composition enabled. This > happens on both Intel HD Ironak

[PATCH v6 10/10] drm/i915: Add DP branch device info on debugfs

2016-07-06 Thread Mika Kahola
Read DisplayPort branch device info from through debugfs interface. v2: use drm_dp_helper routines to collect data v3: cleanup to match the drm_dp_helper.c patches introduced earlier in this series v4: move DP branch device info to function 'intel_dp_branch_device_info()' Signed-off-by: Mika

[PATCH v6 09/10] drm/i915: Update bits per component for display info

2016-07-06 Thread Mika Kahola
DisplayPort branch device may define max supported bits per component. Update display info based on this value if bpc is defined. v2: cleanup to match the drm_dp_helper.c patches introduced earlier in this series Signed-off-by: Mika Kahola --- drivers/gpu/drm/i915/intel_dp.c | 9 +

[PATCH v6 08/10] drm/i915: Check pixel rate for DP to VGA dongle

2016-07-06 Thread Mika Kahola
Filter out a mode that exceeds the max pixel rate setting for DP to VGA dongle. This is defined in DPCD register 0x81 if detailed cap info i.e. info field is 4 bytes long and it is available for DP downstream port. The register defines the pixel rate divided by 8 in MP/s. v2: DPCD read outs and c

[PATCH v6 07/10] drm: Read DP branch device SW revision

2016-07-06 Thread Mika Kahola
SW revision is mandatory field for DisplayPort branch devices. This is defined in DPCD register field 0x50A. Signed-off-by: Mika Kahola --- drivers/gpu/drm/drm_dp_helper.c | 21 + include/drm/drm_dp_helper.h | 2 ++ 2 files changed, 23 insertions(+) diff --git a/drivers

[PATCH v6 06/10] drm: Read DP branch device HW revision

2016-07-06 Thread Mika Kahola
HW revision is mandatory field for DisplayPort branch devices. This is defined in DPCD register field 0x509. Signed-off-by: Mika Kahola --- drivers/gpu/drm/drm_dp_helper.c | 21 + include/drm/drm_dp_helper.h | 7 +++ 2 files changed, 28 insertions(+) diff --git a/dr

[PATCH v6 05/10] drm: Read DP branch device id

2016-07-06 Thread Mika Kahola
Read DisplayPort branch device id string. Signed-off-by: Mika Kahola --- drivers/gpu/drm/drm_dp_helper.c | 12 include/drm/drm_dp_helper.h | 2 ++ 2 files changed, 14 insertions(+) diff --git a/drivers/gpu/drm/drm_dp_helper.c b/drivers/gpu/drm/drm_dp_helper.c index 95d624a..40

[PATCH v6 04/10] drm: Helper to read max bits per component

2016-07-06 Thread Mika Kahola
Helper routine to read out maximum supported bits per component for DisplayPort legay converters. v2: Return early if detailed port cap info is not available. Replace if-else ladder with switch-case (Ville) Signed-off-by: Mika Kahola --- drivers/gpu/drm/drm_dp_helper.c | 42

[PATCH v6 03/10] drm: Helper to read max clock rate

2016-07-06 Thread Mika Kahola
Helper routine to read out maximum supported pixel rate for DisplayPort legay VGA converter or TMDS clock rate for other digital legacy converters. The helper returns clock rate in kHz. v2: Return early if detailed port cap info is not available. Replace if-else ladder with switch-case (Ville)

[PATCH v6 02/10] drm: Drop VGA from bpc definitions

2016-07-06 Thread Mika Kahola
Drop "VGA" from bits per component definitions as these are also used by other standards such as DVI, HDMI, DP++. Signed-off-by: Mika Kahola --- include/drm/drm_dp_helper.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/drm/drm_dp_helper.h b/include/drm/dr

[PATCH v6 01/10] drm: Add missing DP downstream port types

2016-07-06 Thread Mika Kahola
Add missing DisplayPort downstream port types. The introduced new port types are DP++ and Wireless. Signed-off-by: Mika Kahola --- include/drm/drm_dp_helper.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 4d85cf2..6e8b92e 10

[PATCH v6 00/10] drm/i915: DP branch devices

2016-07-06 Thread Mika Kahola
Prep work for DP branch device handling This series of patches reads DPCD register 0x80h for receiver capabilities for DP branch devices. The branch device types are converters for the following standards - DP to VGA - DP to DVI - DP to HDMI - DP++ dual mode - Wireless WiGig DPCD register d

[PATCH] apple-gmux: Sphinxify docs

2016-07-06 Thread Darren Hart
On Mon, Jul 04, 2016 at 12:40:35PM +0200, Lukas Wunner wrote: > Convert asciidoc-formatted docs to rst in accordance with Jonathan's and > Jani's effort to use sphinx for kernel-doc rendering in 4.8. Somebody help me out here. How do I verify this works and using sphinx? to build the docs? Should

[Bug 96678] Awesomenauts cannot launch AMD PITCAIRN

2016-07-06 Thread bugzilla-dae...@freedesktop.org
--- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/7b3c893d/attachment.html>

[PATCH] intel: Export pooled EU and min no. of eus in a pool.

2016-07-06 Thread Yang Rong
Update kernel interface with new I915_GETPARAM ioctl entries for pooled EU and min no. of eus in a pool. Add a wrapping function for each parameter. Userspace drivers need these values when decide the thread count. This kernel enabled pooled eu by default for BXT and for fused down 2x6 parts it is

[Bug 96678] Awesomenauts cannot launch AMD PITCAIRN

2016-07-06 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/d38221b7/attachment.html>

[Bug 96678] Awesomenauts cannot launch AMD PITCAIRN

2016-07-06 Thread bugzilla-dae...@freedesktop.org
HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/0a95875d/attachment.html>

Legacy gamma table updates broken in 4.7-rc4

2016-07-06 Thread Mario Kleiner
A strange one. In Linux 4.7-rc4, at least as build by the Ubuntu mainline ppa, gamma table updates via RandR don't work. No errors are reported and the X-Server thinks everything went well, but on Intel Ironlake and Ivybridge the updates don't have any visual effect. The same problem doesn't ha

ABI changes analysis report for libdrm

2016-07-06 Thread Emil Velikov
Hi Andrey, On 5 July 2016 at 12:46, Ponomarenko Andrey wrote: > Hello, > > I'm working on a new project for backward compatibility analysis of the Linux > ABIs. The report for libdrm 2.4.25-2.4.68 has been recently added to the > project and updated every other day: > http://abi-laboratory.pr

[PATCH -next] drm/nouveau/device: fix return value check in nvkm_device_tegra_probe_iommu()

2016-07-06 Thread weiyj...@163.com
From: Wei Yongjun In case of error, the function iommu_domain_alloc() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun --- drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c | 2 +- 1 file changed, 1 i

Pageflipping bugs in drm-next on at least Ironlake and Ivybridge.

2016-07-06 Thread Mario Kleiner
Since i pulled the current drm-next tree i see strong flicker and visual corruption during pageflipping, both in my own app, but also in KDE4 and KDE5 Plasma with desktop composition enabled. This happens on both Intel HD Ironake mobile (Apple MBP 2010) and HD-4000 Ivybridge mobile (Apple macMi

[PATCH libdrm] vc4: Update kernel headers for getparam addition.

2016-07-06 Thread Eric Anholt
This also brings over the C++ guard introduced recently in the kernel headers. Signed-off-by: Eric Anholt --- Corresponding libdrm patch to the kernel branching support I sent out. include/drm/vc4_drm.h | 20 1 file changed, 20 insertions(+) diff --git a/include/drm/vc4_d

[Bug 96678] Awesomenauts cannot launch AMD PITCAIRN

2016-07-06 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20160706/c8fe5f79/attachment.html>

[PATCH] drm/radeon: Remove deprecated create_singlethread_workqueue

2016-07-06 Thread Michel Dänzer
On 06.07.2016 06:06, Tejun Heo wrote: > On Mon, Jul 04, 2016 at 12:58:32PM +0900, Michel Dänzer wrote: >> On 02.07.2016 22:46, Tejun Heo wrote: >>> On Sat, Jul 02, 2016 at 04:33:50PM +0530, Bhaktipriya Shridhar wrote: alloc_workqueue replaces deprecated create_singlethread_workqueue(). >

[PATCH 5/5] drm/edid: Set 8 bpc color depth for displays with "DFP 1.x compliant TMDS".

2016-07-06 Thread Mario Kleiner
According to E-EDID spec 1.3, table 3.9, a digital video sink with the "DFP 1.x compliant TMDS" bit set is "signal compatible with VESA DFP 1.x TMDS CRGB, 1 pixel / clock, up to 8 bits / color MSB aligned". For such displays, the DFP spec 1.0, section 3.10 "EDID support" says: "If the DFP monitor

[PATCH 4/5] drm/intel/dp: Try harder to get bpc of a DP sink if EDID doesn't tell.

2016-07-06 Thread Mario Kleiner
For DP sinks which don't expose color depth via EDID, use the drm_dp_sink_bpc() helper to derive the bpc of the sink. This should handle DP native sinks with the "Assume 6 bpc if EDID doesn't tell us" as mandated by DP spec. It gives more accurate values for DP->legacy converters for HDMI, DVI and

[PATCH 3/5] drm/dp: Add helper to find bpc of a connected DP sink.

2016-07-06 Thread Mario Kleiner
drm_dp_sink_bpc() is meant as a fallback to be used by kms drivers if a DP sink doesn't provide supported color depth bpc via EDID. It parses dpcd registers and optionally downstream port registers read by the driver from DP AUX and passed to the function to find out what the bpc of the connected

[PATCH 2/5] drm/i915/dp: Revert "drm/i915/dp: fall back to 18 bpp when sink capability is unknown"

2016-07-06 Thread Mario Kleiner
This reverts commit 013dd9e03872 ("drm/i915/dp: fall back to 18 bpp when sink capability is unknown") This commit introduced a regression into stable kernels, as it reduces output color depth to 6 bpc for any video sink connected to a Displayport connector if that sink doesn't report a specific co

[PATCH 1/5] drm/edid: Add 6 bpc quirk for display AEO model 0.

2016-07-06 Thread Mario Kleiner
Bugzilla https://bugzilla.kernel.org/show_bug.cgi?id=105331 reports that the "AEO model 0" display is driven with 8 bpc without dithering by default, which looks bad because that panel is apparently a 6 bpc DP panel with faulty EDID. A fix for this was made by commit 013dd9e03872 ("drm/i915/dp: fa

EDID/DP fixes for proper bpc detection of displays.

2016-07-06 Thread Mario Kleiner
Updated series to fix the regressions introduced into stable kernels for active Displayport to dual-link DVI converters and for active Displayport to VGA converters. Also to fix this stuff better for Linux 4.8. Patch 1 + 2 are needed to fix the regressions in the stable kernels. These are meant fo

[PATCH 00/31] Move LRU page reclaim from zones to nodes v8

2016-07-06 Thread Minchan Kim
On Mon, Jul 04, 2016 at 10:55:09AM +0100, Mel Gorman wrote: > On Mon, Jul 04, 2016 at 05:04:12PM +0900, Minchan Kim wrote: > > > > How big ratio between highmem:lowmem do you think a problem? > > > > > > > > > > That's a "how long is a piece of string" type question. The ratio does > > > not mat

[Bug 96678] Awesomenauts cannot launch AMD PITCAIRN

2016-07-06 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/59b964e8/attachment.html>

[Bug 96678] Awesomenauts cannot launch AMD PITCAIRN

2016-07-06 Thread bugzilla-dae...@freedesktop.org
http://pastebin.com/XHnF0Ur8 http://pastebin.com/gGxjWpde -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/c770d

[RFC PATCH 3/4] drm: bridge: Generic GPIO mux driver

2016-07-06 Thread Nicolas Boichat
(whoops, apologies for the CHROMIUM tag in the subject line...) On Tue, Jun 28, 2016 at 4:52 PM, Archit Taneja wrote: > > > On 06/27/2016 01:18 PM, Nicolas Boichat wrote: >> >> This driver supports single input, 2 output display mux (e.g. >> HDMI mux), that provides its status via a GPIO. > > >

[Bug 96731] [RADEONSI] [LLVM] [bisected] GPU lockups when running Alien: Isolation

2016-07-06 Thread bugzilla-dae...@freedesktop.org
the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/727a5168/attachment-0001.html>

[RFC PATCH 0/4] drm: bridge: anx7688 and mux drivers

2016-07-06 Thread Nicolas Boichat
Hi Archit, Sorry got swamped by other things and forgot to reply. On Tue, Jun 28, 2016 at 4:28 PM, Archit Taneja wrote: > > > On 06/27/2016 01:18 PM, Nicolas Boichat wrote: >> >> Hi all, >> >> This is a follow up to the 2 patches to add support for ANX7688 sent here: >> https://patchwork.kernel

[PATCH] drm/radeon: Remove deprecated create_singlethread_workqueue

2016-07-06 Thread Tejun Heo
Hello, Michel. On Wed, Jul 06, 2016 at 12:12:52PM +0900, Michel Dänzer wrote: > There is an ordering requirement between the two queues, but it's > enforced by the driver (by only queuing the unpin work once a flip has > completed, which only happens after the corresponding flip work has run). O

[Bug 96678] Awesomenauts cannot launch AMD PITCAIRN

2016-07-06 Thread bugzilla-dae...@freedesktop.org
esktop.org/archives/dri-devel/attachments/20160706/d9e714c3/attachment.html>

[Bug 96678] Awesomenauts cannot launch AMD PITCAIRN

2016-07-06 Thread bugzilla-dae...@freedesktop.org
nd should catch it. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/5398fd10/attachment.html>

[Bug 96731] [RADEONSI] [LLVM] [bisected] GPU lockups when running Alien: Isolation

2016-07-06 Thread bugzilla-dae...@freedesktop.org
bed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/d6f80bec/attachment.html>

[GIT PULL] drm/bridge: analogix-dp: misc fixes & add RK3399 eDP support

2016-07-06 Thread Yakir Yang
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/4c92aa6c/attachment-0001.html>

[Bug 96790] frame stuttering in ut2004

2016-07-06 Thread bugzilla-dae...@freedesktop.org
: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160706/88f8104d/attachment.html>

[Bug 96672] [radeonsi][LLVM 3.9] ARK: Survival Evolved, Missing text glyphs

2016-07-06 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20160706/b88d6530/attachment.html>