[Bug 98897] Macbook pro 11,5 screen flicker when AC adapter plugged in

2016-12-07 Thread bugzilla-dae...@freedesktop.org
was looking for the flickering that this bug mentions. -- 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/20161207/33e37f1e/attachment.html>

[GIT PULL] drm/fsl-dcu: fixes and cleanup around fbdev for v4.10

2016-12-07 Thread Dave Airlie
On 7 December 2016 at 11:51, Stefan Agner wrote: > Hi Dave, > > On 2016-11-28 18:55, Stefan Agner wrote: >> Hi Dave, >> >> Some fixes and cleanup, mainly around fbdev emulation. It also adds a >> new module parameter which allows to specify the color depth/bpp for >> the fbdev emulation (like the

[PATCH v2] drm/bridge: analogix: Don't return -EINVAL when panel not support PSR in PSR functions

2016-12-07 Thread Archit Taneja
On 12/07/2016 06:27 AM, zain wang wrote: > We will ignored PSR setting if panel not support it. So, in this case, we > should > return from analogix_dp_enable/disable_psr() without any error code. > Let's retrun 0 instead of -EINVAL when panel not support PSR in >

[Bug 99013] [regression, bisected] radeonsi: commit 4c8c13b3 "Use amdgcn intrinsics for fs interpolation" makes system unusable

2016-12-07 Thread bugzilla-dae...@freedesktop.org
L: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161207/3e5160f5/attachment-0001.html>

[Bug 99013] [regression, bisected] radeonsi: commit 4c8c13b3 "Use amdgcn intrinsics for fs interpolation" makes system unusable

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

[PATCH 10/10] virtio: enable endian checks for sparse builds

2016-12-07 Thread Johannes Berg
On Tue, 2016-12-06 at 17:41 +0200, Michael S. Tsirkin wrote: > It seems that there should be a better way to do it, > but this works too. In some cases there might be: > --- a/drivers/s390/virtio/Makefile > +++ b/drivers/s390/virtio/Makefile > @@ -6,6 +6,8 @@ >  # it under the terms of the GNU

[Intel-gfx] [RFC 5/5] drm: Do not log driver prefix in debug messages

2016-12-07 Thread Tvrtko Ursulin
Hi, On 06/12/2016 19:49, Gustavo Padovan wrote: > Hi Tvrtko, > > 2016-12-06 Tvrtko Ursulin : > >> From: Tvrtko Ursulin >> >> Driver prefix is a bit redundant in debug messages. If we choose >> not to log it we change debug messages which used to look like this: >> >> [i915:edp_panel_off

[PATCH] drm/irq: drm_legacy_ prefix for legacy ioctls

2016-12-07 Thread Daniel Vetter
Spotted while auditing our ioctl table. Also nuke the not-really-kerneldoc comments, we don't document internals and definitely don't want to mislead people with the old dragons. I think with this all the legacy ioctls now have proper drm_legacy_ prefixes. Signed-off-by: Daniel Vetter ---

[PATCH] drm/irq: drm_legacy_ prefix for legacy ioctls

2016-12-07 Thread Jani Nikula
On Wed, 07 Dec 2016, Daniel Vetter wrote: > Spotted while auditing our ioctl table. Also nuke the > not-really-kerneldoc comments, we don't document internals and > definitely don't want to mislead people with the old dragons. Not just specific to this patch, but I'm not sure I agree with the

[Nouveau] 4.9-rc7 nouveau fails on arm64 64k page kernel but works with 4k

2016-12-07 Thread Alexandre Courbot
On Fri, Dec 2, 2016 at 12:23 PM, Ilia Mirkin wrote: > That's right -- nouveau currently requires 4k page sizes to work. This is a > software limitation, not a hardware one though. Looking at the trace I wonder - is the limitation in Nouveau or in TTM? > > > On Dec 1, 2016 5:13 PM, "Jeremy

[PATCH RFC] drm/sun4i: rgb: Add 5% tolerance to dot clock frequency check

2016-12-07 Thread Laurent Pinchart
Hello, On Wednesday 07 Dec 2016 10:26:25 Chen-Yu Tsai wrote: > On Wed, Dec 7, 2016 at 1:29 AM, Maxime Ripard wrote: > > On Thu, Nov 24, 2016 at 07:22:31PM +0800, Chen-Yu Tsai wrote: > >> The panels shipped with Allwinner devices are very "generic", i.e. > >> they do not have model numbers or

[drm:drm-exclusive-objects 34/34] htmldocs: include/drm/drm_mode_object.h:61: warning: No description found for parameter 'exclusive_access'

2016-12-07 Thread kbuild test robot
ubbed... Name: .config.gz Type: application/gzip Size: 6425 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161207/92bb6381/attachment.gz>

[PATCH 14/22] dt-bindings: display: dw-hdmi: Clean up DT bindings documentation

2016-12-07 Thread Laurent Pinchart
Hi Rob, On Tuesday 06 Dec 2016 15:15:50 Rob Herring wrote: > On Fri, Dec 02, 2016 at 01:43:29AM +0200, Laurent Pinchart wrote: > > Make it clear that the core bridge/dw_hdmi.txt document isn't a device > > tree binding by itself but is meant to be referenced by platform device > > tree bindings,

[Nouveau] 4.9-rc7 nouveau fails on arm64 64k page kernel but works with 4k

2016-12-07 Thread Michel Dänzer
On 07/12/16 06:39 PM, Alexandre Courbot wrote: > On Fri, Dec 2, 2016 at 12:23 PM, Ilia Mirkin wrote: >> That's right -- nouveau currently requires 4k page sizes to work. This is a >> software limitation, not a hardware one though. > > Looking at the trace I wonder - is the limitation in Nouveau

[Nouveau] 4.9-rc7 nouveau fails on arm64 64k page kernel but works with 4k

2016-12-07 Thread Alexandre Courbot
On Wed, Dec 7, 2016 at 6:53 PM, Michel Dänzer wrote: > On 07/12/16 06:39 PM, Alexandre Courbot wrote: >> On Fri, Dec 2, 2016 at 12:23 PM, Ilia Mirkin wrote: >>> That's right -- nouveau currently requires 4k page sizes to work. This is a >>> software limitation, not a hardware one though. >> >>

[PATCH v4 0/4] DRM: allow to use mmuless devices

2016-12-07 Thread Benjamin Gaignard
version 4: - add documentation about drm_gem_cma_get_unmapped_area() - introduce FB_PROVIDE_GET_FB_UNMAPPED_AREA configuration flag for get_fb_unmapped_area() - I have also send the first patch (https://lkml.org/lkml/2016/12/1/308) to make dma_mmap_wc works on ARM noMMU platform, assuming that

[PATCH v4 1/4] nommu: allow mmap when !CONFIG_MMU

2016-12-07 Thread Benjamin Gaignard
commit ab6494f0c96f ("nommu: Add noMMU support to the DMA API") have add CONFIG_MMU compilation flag but that prohibit to use dma_mmap_wc() when the platform doesn't have MMU. This patch call vm_iomap_memory() in noMMU case to test if addresses are correct and set wma->vm_flags rather than all

[PATCH v4 3/4] drm: compile drm_vm.c only when needed

2016-12-07 Thread Benjamin Gaignard
drm_vm.c functions are only need for DRM_LEGACY and DRM_NOUVEAU. Use a new DRM_VM to define when drm_vm.c in needed. stub drm_legacy_vma_flush() to avoid compilation issues version 4: - a "config DRM_VM" in Kconfig Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/Kconfig | 5 +

[PATCH v4 2/4] fbmem: add a default get_fb_unmapped_area function

2016-12-07 Thread Benjamin Gaignard
Allow generic frame-buffer to provide a default get_fb_unmapped_area function if specific devices need it. Usually this function is defined in architecture directories but define it here may limit code duplication especially for all ARM platforms without MMU. version 4: - introdude a

[PATCH v4 4/4] drm: allow to use mmuless SoC

2016-12-07 Thread Benjamin Gaignard
Some SoC without MMU have display driver where a drm/kms driver could be implemented. Before doing such kind of thing drm/kms must allow to use mmuless devices. This patch propose to remove MMU configuration flag and add a cma helper function to help implementing mmuless display driver version

[PATCH] drm/fence: add drm_crtc_create_fence()

2016-12-07 Thread Daniel Vetter
On Tue, Dec 06, 2016 at 03:47:17PM -0200, Gustavo Padovan wrote: > From: Gustavo Padovan > > Instead of dealing with crtc details inside drm_atomic.c we should > just export a function that creates a new crtc fence for us and > use that. > > Suggested-by: Chris Wilson > Signed-off-by: Gustavo

[PATCH] drm/irq: drm_legacy_ prefix for legacy ioctls

2016-12-07 Thread Daniel Vetter
On Wed, Dec 07, 2016 at 11:28:54AM +0200, Jani Nikula wrote: > On Wed, 07 Dec 2016, Daniel Vetter wrote: > > Spotted while auditing our ioctl table. Also nuke the > > not-really-kerneldoc comments, we don't document internals and > > definitely don't want to mislead people with the old dragons. >

[PATCH v4 4/4] drm: allow to use mmuless SoC

2016-12-07 Thread Daniel Vetter
On Wed, Dec 07, 2016 at 11:06:51AM +0100, Benjamin Gaignard wrote: > Some SoC without MMU have display driver where a drm/kms driver > could be implemented. > > Before doing such kind of thing drm/kms must allow to use mmuless devices. > This patch propose to remove MMU configuration flag and add

[PATCH 0/8] Host1x IOMMU support + VIC support

2016-12-07 Thread Daniel Vetter
On Tue, Dec 06, 2016 at 11:33:11AM +0200, Mikko Perttunen wrote: > > > On 12/06/2016 09:14 AM, Daniel Vetter wrote: > > On Mon, Dec 05, 2016 at 08:51:31PM +0100, Thierry Reding wrote: > > > On Thu, Nov 10, 2016 at 08:23:37PM +0200, Mikko Perttunen wrote: > > > > This series adds IOMMU support to

[PATCH v4 4/4] drm: allow to use mmuless SoC

2016-12-07 Thread Benjamin Gaignard
2016-12-07 11:27 GMT+01:00 Daniel Vetter : > On Wed, Dec 07, 2016 at 11:06:51AM +0100, Benjamin Gaignard wrote: >> Some SoC without MMU have display driver where a drm/kms driver >> could be implemented. >> >> Before doing such kind of thing drm/kms must allow to use mmuless devices. >> This patch

[PATCH v5 0/4] ARM: dts: da850: tilcdc related DT changes

2016-12-07 Thread Bartosz Golaszewski
This series contains the last DT changes required for LCDC support on da850-lcdk. The first one adds the dumb-vga-dac nodes, the second limits the maximum pixel clock rate. v1 -> v2: - drop patch 3/3 (already merged) - use max-pixelclock instead of max-bandwidth for display mode limiting v2 ->

[PATCH v5 1/4] ARM: dts: da850: rename the display node label

2016-12-07 Thread Bartosz Golaszewski
The tilcdc node name is 'display' as per the ePAPR 1.1 recommendation. The label is also 'display', but change it to 'lcdc' to make it clear what the underlying hardware is. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v5 2/4] drm: bridge: add support for TI ths8135

2016-12-07 Thread Bartosz Golaszewski
THS8135 is a configurable video DAC. Add DT bindings for this chip and use the dumb-vga-dac driver for now as no configuration is required to make it work. Signed-off-by: Bartosz Golaszewski --- .../bindings/display/bridge/ti,ths8135.txt | 52 ++

[PATCH v5 3/4] ARM: dts: da850-lcdk: add the vga-bridge node

2016-12-07 Thread Bartosz Golaszewski
Add the vga-bridge node to the board DT together with corresponding ports and vga connector. This allows to retrieve the edid info from the display automatically. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-lcdk.dts | 67 1 file

[PATCH v5 4/4] ARM: dts: da850: specify the maximum pixel clock rate for tilcdc

2016-12-07 Thread Bartosz Golaszewski
At maximum CPU frequency of 300 MHz the maximum pixel clock frequency is 37.5 MHz[1]. We must filter out any mode for which the calculated pixel clock rate would exceed this value. Specify the max-pixelclock property for the display node for da850-lcdk. [1]

[PATCH v5 2/4] drm: bridge: add support for TI ths8135

2016-12-07 Thread Bartosz Golaszewski
2016-12-07 11:42 GMT+01:00 Bartosz Golaszewski : > THS8135 is a configurable video DAC. Add DT bindings for this chip and > use the dumb-vga-dac driver for now as no configuration is required to > make it work. > > Signed-off-by: Bartosz Golaszewski > --- >

[PATCH 1/2] drm/sti: load XP70 firmware only once

2016-12-07 Thread Benjamin Gaignard
Acked-by: Benjamin Gaignard 2016-12-05 16:09 GMT+01:00 Fabien Dessenne : > When a plane is enabled, after having been disabled, do not reload XP70 > firmware again, but only register VTG again > > Signed-off-by: Fabien Dessenne > --- > drivers/gpu/drm/sti/sti_hqvdp.c | 8 ++-- > 1 file

[PATCH 2/2] drm/sti: do not post HQVDP command if no update

2016-12-07 Thread Benjamin Gaignard
Acked-by: Benjamin Gaignard 2016-12-05 16:09 GMT+01:00 Fabien Dessenne : > Do not process update requests with unmodified parameters. > > Since the HQVDP command queue is limited to 2, we shall take care of > not posting unneeded commands, which would abusively fill the command > queue leading

[PATCH] drm/atomic: Don't reject reflect-only rotations

2016-12-07 Thread Brian Starkey
The check to reject combinations of multiple rotation angles is overly restrictive and has the side-effect of also failing any rotation value which consists only of reflections. Fix this by relaxing the check to ignore values which contain no rotation flags. Fixes: 6e0c7c3358d4 ("drm/atomic:

[PATCH] drm: Allow CAP_PRIME on !MODESET

2016-12-07 Thread Daniel Vetter
vgem (and our igt tests using vgem) need this. I suspect etnaviv will fare similarly. Fixes: d5264ed3823a ("drm: Return -ENOTSUPP when called for KMS cap with a non-KMS driver") Cc: Michel Dänzer Cc: Alex Deucher Cc: Chris Wilson Signed-off-by: Daniel Vetter Signed-off-by: Daniel Vetter

[PATCH] etnaviv: Cannot render to rb-swapped formats

2016-12-07 Thread Wladimir J. van der Laan
Exposing rb swapped (or other swizzled) formats for rendering would involve swizzing in the pixel shader. This is not the case at the moment, so reject requests for creating such surfaces. (GPUs that need an extra resolve step anyway due to multiple pixel pipes, such as gc2000, might also do this

[Bug 189451] UVD not responding with Mobility Radeon HD 5650

2016-12-07 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=189451 --- Comment #3 from Raffaele --- I have a new kernel and a new error message Kernel 4.8.10-300.fc25.x86_64 New error message. This time UVD seems to be initialized fine, but there is another error afterwards [ 20.447459] [drm:uvd_v1_0_start

[Bug 189451] UVD not responding with Mobility Radeon HD 5650

2016-12-07 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=189451 --- Comment #4 from Raffaele --- Created attachment 247081 --> https://bugzilla.kernel.org/attachment.cgi?id=247081=edit Second error message with 4.8.10 -- You are receiving this mail because: You are watching the assignee of the bug.

[PATCH] drm/atomic: Don't reject reflect-only rotations

2016-12-07 Thread Gustavo Padovan
Hi Brian, 2016-12-07 Brian Starkey : > The check to reject combinations of multiple rotation angles is overly > restrictive and has the side-effect of also failing any rotation value > which consists only of reflections. > > Fix this by relaxing the check to ignore values which contain no >

[PATCH] drm: Allow CAP_PRIME on !MODESET

2016-12-07 Thread Chris Wilson
On Wed, Dec 07, 2016 at 02:13:23PM +0100, Daniel Vetter wrote: > vgem (and our igt tests using vgem) need this. I suspect etnaviv will > fare similarly. > > Fixes: d5264ed3823a ("drm: Return -ENOTSUPP when called for KMS cap with a > non-KMS driver") > Cc: Michel Dänzer > Cc: Alex Deucher >

[PATCH 10/10] virtio: enable endian checks for sparse builds

2016-12-07 Thread Michael S. Tsirkin
On Wed, Dec 07, 2016 at 07:25:51AM +0100, Johannes Berg wrote: > On Tue, 2016-12-06 at 17:41 +0200, Michael S. Tsirkin wrote: > > > It seems that there should be a better way to do it, > > but this works too. > > In some cases there might be: > > > --- a/drivers/s390/virtio/Makefile > > +++

[PATCH] drm/atomic: Don't reject reflect-only rotations

2016-12-07 Thread Chris Wilson
On Wed, Dec 07, 2016 at 12:18:19PM +, Brian Starkey wrote: > The check to reject combinations of multiple rotation angles is overly > restrictive and has the side-effect of also failing any rotation value > which consists only of reflections. > > Fix this by relaxing the check to ignore

[PATCH 1/8] drm/tegra: Add Tegra DRM allocation API

2016-12-07 Thread Mikko Perttunen
On 05.12.2016 20:37, Thierry Reding wrote: > On Thu, Nov 10, 2016 at 08:23:38PM +0200, Mikko Perttunen wrote: >> Add a new IO virtual memory allocation API to allow clients to >> allocate non-GEM memory in the Tegra DRM IOMMU domain. This is >> required e.g. for loading client firmware when

[PATCH 2/8] drm/tegra: Allocate BOs from lower 4G when without IOMMU

2016-12-07 Thread Mikko Perttunen
On 05.12.2016 20:39, Thierry Reding wrote: > On Thu, Nov 10, 2016 at 08:23:39PM +0200, Mikko Perttunen wrote: >> On 64-bit Tegras, buffer object memory allocation may >> return memory above 4G that units behind Host1x cannot >> access. Add the GFP_DMA flag to these allocation when >> IOMMU is not

[PATCH 3/8] drm/tegra: Add falcon helper library

2016-12-07 Thread Mikko Perttunen
On 05.12.2016 21:13, Thierry Reding wrote: > On Thu, Nov 10, 2016 at 08:23:40PM +0200, Mikko Perttunen wrote: >> From: Arto Merilainen >> >> Add a set of falcon helper routines for use by the tegradrm client drivers >> of the various falcon-based engines. >> >> The falcon is a microcontroller

[PATCH v2] drm/bridge: analogix: Don't return -EINVAL when panel not support PSR in PSR functions

2016-12-07 Thread zain wang
We will ignored PSR setting if panel not support it. So, in this case, we should return from analogix_dp_enable/disable_psr() without any error code. Let's retrun 0 instead of -EINVAL when panel not support PSR in analogix_dp_enable/disable_psr(). Signed-off-by: zain wang --- Changes in v2: -

[PATCH 02/10] drm/virtio: fix endianness in primary_plane_update

2016-12-07 Thread Jason Wang
On 2016年12月06日 23:40, Michael S. Tsirkin wrote: > virtio_gpu_cmd_transfer_to_host_2d expects x and y > parameters in LE, but virtio_gpu_primary_plane_update > passes in the CPU format instead. > > Signed-off-by: Michael S. Tsirkin > --- > drivers/gpu/drm/virtio/virtgpu_plane.c | 4 ++--

[PATCH RFC] drm/sun4i: rgb: Add 5% tolerance to dot clock frequency check

2016-12-07 Thread Chen-Yu Tsai
On Wed, Dec 7, 2016 at 1:29 AM, Maxime Ripard wrote: > On Thu, Nov 24, 2016 at 07:22:31PM +0800, Chen-Yu Tsai wrote: >> The panels shipped with Allwinner devices are very "generic", i.e. >> they do not have model numbers or reliable sources of information >> for the timings (that we know of)

[PATCH 03/10] drm/virtio: fix lock context imbalance

2016-12-07 Thread Jason Wang
On 2016年12月06日 23:40, Michael S. Tsirkin wrote: > When virtio_gpu_free_vbufs exits due to list empty, it does not > drop the free_vbufs lock that it took. > list empty is not expected to happen anyway, but it can't hurt to fix > this and drop the lock. > > Signed-off-by: Michael S. Tsirkin

[PATCH 10/10] virtio: enable endian checks for sparse builds

2016-12-07 Thread Jason Wang
On 2016年12月06日 23:41, Michael S. Tsirkin wrote: > __CHECK_ENDIAN__ isn't on by default presumably because > it triggers too many sparse warnings for correct code. > But virtio is now clean of these warnings, and > we want to keep it this way - enable this for > sparse builds. > >

[RFC PATCH v3 2/2] drm/panel: Add support for Chunghwa CLAA070WP03XG panel

2016-12-07 Thread Ayaka
從我的 iPad 傳送 > Thierry Reding 於 2016年12月6日 下午11:46 > 寫道: > >> On Tue, Sep 20, 2016 at 03:02:51AM +0800, Randy Li wrote: >> The Chunghwa CLAA070WP03XG is a 7" 1280x800 panel, which can be >> supported by the simple panel driver. >> >> Signed-off-by: Randy Li >>

[PATCH 04/10] drm/virtio: annotate virtio_gpu_queue_ctrl_buffer_locked

2016-12-07 Thread Jason Wang
On 2016年12月06日 23:40, Michael S. Tsirkin wrote: > virtio_gpu_queue_ctrl_buffer_locked is called with ctrlq.qlock taken, it > releases and acquires this lock. This causes a sparse warning. Add > appropriate annotations for sparse context checking. > > Signed-off-by: Michael S. Tsirkin >

[PATCH] drm/fence: add drm_crtc_create_fence()

2016-12-07 Thread Gustavo Padovan
2016-12-07 Daniel Vetter : > On Tue, Dec 06, 2016 at 03:47:17PM -0200, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Instead of dealing with crtc details inside drm_atomic.c we should > > just export a function that creates a new crtc fence for us and > > use that. > > > >

[PATCH] drm/atomic: Don't reject reflect-only rotations

2016-12-07 Thread Ville Syrjälä
On Wed, Dec 07, 2016 at 12:18:19PM +, Brian Starkey wrote: > The check to reject combinations of multiple rotation angles is overly > restrictive and has the side-effect of also failing any rotation value > which consists only of reflections. > > Fix this by relaxing the check to ignore

[bug report] drm/bridge: Add ti-tfp410 DVI transmitter driver

2016-12-07 Thread Jyri Sarha
On 12/06/16 15:28, Dan Carpenter wrote: > Hello Jyri Sarha, > > The patch dc55ac3b52e6: "drm/bridge: Add ti-tfp410 DVI transmitter > driver" from Oct 31, 2016, leads to the following static checker > warning: > > drivers/gpu/drm/bridge/ti-tfp410.c:141 tfp410_get_connector_ddc() >

[PATCH v5 2/4] drm: bridge: add support for TI ths8135

2016-12-07 Thread Laurent Pinchart
Hi Bartosz, Thank you for the patch. On Wednesday 07 Dec 2016 11:45:11 Bartosz Golaszewski wrote: > 2016-12-07 11:42 GMT+01:00 Bartosz Golaszewski : > > THS8135 is a configurable video DAC. Add DT bindings for this chip and > > use the dumb-vga-dac driver for now as no configuration is required

[PATCH v5 3/4] ARM: dts: da850-lcdk: add the vga-bridge node

2016-12-07 Thread Laurent Pinchart
Hi Bartosz, Thank you for the patch. On Wednesday 07 Dec 2016 11:42:44 Bartosz Golaszewski wrote: > Add the vga-bridge node to the board DT together with corresponding > ports and vga connector. This allows to retrieve the edid info from > the display automatically. > > Signed-off-by: Bartosz

[PATCH v5 3/4] ARM: dts: da850-lcdk: add the vga-bridge node

2016-12-07 Thread Bartosz Golaszewski
2016-12-07 15:25 GMT+01:00 Laurent Pinchart : > Hi Bartosz, > > Thank you for the patch. > > On Wednesday 07 Dec 2016 11:42:44 Bartosz Golaszewski wrote: >> Add the vga-bridge node to the board DT together with corresponding >> ports and vga connector. This allows to retrieve the edid info from >>

[PATCH v4 4/4] drm: allow to use mmuless SoC

2016-12-07 Thread Laurent Pinchart
Hi Benjamin, Thank you for the patch. On Wednesday 07 Dec 2016 11:06:51 Benjamin Gaignard wrote: > Some SoC without MMU have display driver where a drm/kms driver > could be implemented. > > Before doing such kind of thing drm/kms must allow to use mmuless devices. > This patch propose to

[PATCH v4 3/4] drm: compile drm_vm.c only when needed

2016-12-07 Thread Laurent Pinchart
Hi Benjamin, Thank you for the patch. On Wednesday 07 Dec 2016 11:06:50 Benjamin Gaignard wrote: > drm_vm.c functions are only need for DRM_LEGACY and DRM_NOUVEAU. > Use a new DRM_VM to define when drm_vm.c in needed. > > stub drm_legacy_vma_flush() to avoid compilation issues > > version 4: >

[PATCH v4 2/4] fbmem: add a default get_fb_unmapped_area function

2016-12-07 Thread Laurent Pinchart
Hi Benjamin, Thank you for the patch. On Wednesday 07 Dec 2016 11:06:49 Benjamin Gaignard wrote: > Allow generic frame-buffer to provide a default > get_fb_unmapped_area function if specific devices need it. > > Usually this function is defined in architecture directories but > define it here

[bug report] drm/bridge: Add ti-tfp410 DVI transmitter driver

2016-12-07 Thread Daniel Vetter
On Wed, Dec 07, 2016 at 04:20:34PM +0200, Jyri Sarha wrote: > On 12/06/16 15:28, Dan Carpenter wrote: > > Hello Jyri Sarha, > > > > The patch dc55ac3b52e6: "drm/bridge: Add ti-tfp410 DVI transmitter > > driver" from Oct 31, 2016, leads to the following static checker > > warning: > > > >

[PATCH] drm/atomic: Don't reject reflect-only rotations

2016-12-07 Thread Brian Starkey
On Wed, Dec 07, 2016 at 04:12:07PM +0200, Ville Syrjälä wrote: >On Wed, Dec 07, 2016 at 12:18:19PM +, Brian Starkey wrote: >> The check to reject combinations of multiple rotation angles is overly >> restrictive and has the side-effect of also failing any rotation value >> which consists

[PATCH v4 4/4] drm: allow to use mmuless SoC

2016-12-07 Thread Daniel Vetter
On Wed, Dec 07, 2016 at 04:32:44PM +0200, Laurent Pinchart wrote: > Hi Benjamin, > > Thank you for the patch. > > On Wednesday 07 Dec 2016 11:06:51 Benjamin Gaignard wrote: > > Some SoC without MMU have display driver where a drm/kms driver > > could be implemented. > > > > Before doing such

[PATCH] drm: Allow CAP_PRIME on !MODESET

2016-12-07 Thread Daniel Vetter
vgem (and our igt tests using vgem) need this. I suspect etnaviv will fare similarly. v2. Make it build. Oops. Fixes: d5264ed3823a ("drm: Return -ENOTSUPP when called for KMS cap with a non-KMS driver") Cc: Michel Dänzer Cc: Alex Deucher Cc: Chris Wilson Reviewed-by: Chris Wilson

[PATCH] drm/atomic: Don't reject reflect-only rotations

2016-12-07 Thread Daniel Vetter
On Wed, Dec 07, 2016 at 01:32:57PM +, Chris Wilson wrote: > On Wed, Dec 07, 2016 at 12:18:19PM +, Brian Starkey wrote: > > The check to reject combinations of multiple rotation angles is overly > > restrictive and has the side-effect of also failing any rotation value > > which consists

[RFC PATCH v3 2/2] drm/panel: Add support for Chunghwa CLAA070WP03XG panel

2016-12-07 Thread Daniel Vetter
On Wed, Dec 07, 2016 at 08:57:23AM +0800, Ayaka wrote: > > > 從我的 iPad 傳送 > > > Thierry Reding 於 2016年12月6日 > > 下午11:46 寫道: > > > >> On Tue, Sep 20, 2016 at 03:02:51AM +0800, Randy Li wrote: > >> The Chunghwa CLAA070WP03XG is a 7" 1280x800 panel, which can be > >>

[PATCH v4 2/4] fbmem: add a default get_fb_unmapped_area function

2016-12-07 Thread Benjamin Gaignard
2016-12-07 15:35 GMT+01:00 Laurent Pinchart : > Hi Benjamin, > > Thank you for the patch. > > On Wednesday 07 Dec 2016 11:06:49 Benjamin Gaignard wrote: >> Allow generic frame-buffer to provide a default >> get_fb_unmapped_area function if specific devices need it. >> >> Usually this function is

[RESEND PATCH v2 4/7] drm/vc4: Add support for the VEC (Video Encoder) IP

2016-12-07 Thread Boris Brezillon
On Mon, 5 Dec 2016 17:50:13 -0800 Florian Fainelli wrote: > On 12/02/2016 05:48 AM, Boris Brezillon wrote: > > The VEC IP is a TV DAC, providing support for PAL and NTSC standards. > > > > Signed-off-by: Boris Brezillon > > --- > > > diff --git a/drivers/gpu/drm/vc4/vc4_vec.c

[PATCH] drm/atomic: Don't reject reflect-only rotations

2016-12-07 Thread Ville Syrjälä
On Wed, Dec 07, 2016 at 03:52:29PM +0100, Daniel Vetter wrote: > On Wed, Dec 07, 2016 at 01:32:57PM +, Chris Wilson wrote: > > On Wed, Dec 07, 2016 at 12:18:19PM +, Brian Starkey wrote: > > > The check to reject combinations of multiple rotation angles is overly > > > restrictive and has

[PATCH v4 2/4] fbmem: add a default get_fb_unmapped_area function

2016-12-07 Thread Laurent Pinchart
Hi Benjamin, On Wednesday 07 Dec 2016 15:57:49 Benjamin Gaignard wrote: > 2016-12-07 15:35 GMT+01:00 Laurent Pinchart: > > On Wednesday 07 Dec 2016 11:06:49 Benjamin Gaignard wrote: > >> Allow generic frame-buffer to provide a default > >> get_fb_unmapped_area function if specific devices need

[PATCH v4 4/4] drm: allow to use mmuless SoC

2016-12-07 Thread Benjamin Gaignard
Some SoC without MMU have display driver where a drm/kms driver could be implemented. Before doing such kind of thing drm/kms must allow to use mmuless devices. This patch propose to remove MMU configuration flag and add a cma helper function to help implementing mmuless display driver version

[PATCH v4 2/4] fbmem: add a default get_fb_unmapped_area function

2016-12-07 Thread Benjamin Gaignard
Hi Thomas, in commit 59bd00c8 (Blackfin: fix framebuffer mmap bug for nommu) you have introduce get_fb_unmapped_area() for blackfin architecture. I'm proposing a patch to have a default function in fbmem which slightly does the same. Do you think is new function could also fit with blackfin

[PATCH] drm: hdlcd: Work properly in big-endian mode

2016-12-07 Thread Robin Murphy
Under a big-endian kernel, colours on the framebuffer all come out a delightful shade of wrong, since we fail to take the reversed byte order into account. Fortunately, the HDLCD has a control bit to make it automatically byteswap big-endian data; let's use it as appropriate. Signed-off-by: Robin

[PATCH] drm/atomic: Don't reject reflect-only rotations

2016-12-07 Thread Daniel Vetter
On Wed, Dec 07, 2016 at 05:13:24PM +0200, Ville Syrjälä wrote: > On Wed, Dec 07, 2016 at 03:52:29PM +0100, Daniel Vetter wrote: > > On Wed, Dec 07, 2016 at 01:32:57PM +, Chris Wilson wrote: > > > On Wed, Dec 07, 2016 at 12:18:19PM +, Brian Starkey wrote: > > > > The check to reject

[PATCH] drm: hdlcd: Work properly in big-endian mode

2016-12-07 Thread Daniel Vetter
On Wed, Dec 07, 2016 at 03:31:40PM +, Robin Murphy wrote: > Under a big-endian kernel, colours on the framebuffer all come out a > delightful shade of wrong, since we fail to take the reversed byte > order into account. Fortunately, the HDLCD has a control bit to make it > automatically

[PATCH] drm/atomic: Don't reject reflect-only rotations

2016-12-07 Thread Ville Syrjälä
On Wed, Dec 07, 2016 at 04:54:40PM +0100, Daniel Vetter wrote: > On Wed, Dec 07, 2016 at 05:13:24PM +0200, Ville Syrjälä wrote: > > On Wed, Dec 07, 2016 at 03:52:29PM +0100, Daniel Vetter wrote: > > > On Wed, Dec 07, 2016 at 01:32:57PM +, Chris Wilson wrote: > > > > On Wed, Dec 07, 2016 at

[PATCH] drm: hdlcd: Work properly in big-endian mode

2016-12-07 Thread liviu.du...@arm.com
On Wed, Dec 07, 2016 at 03:31:40PM +, Robin Murphy wrote: > Under a big-endian kernel, colours on the framebuffer all come out a > delightful shade of wrong, So you are saying that wrong is only a 1 bit value? > since we fail to take the reversed byte > order into account. Fortunately, the

[PATCH v4 4/4] drm: allow to use mmuless SoC

2016-12-07 Thread Eric Engestrom
On Wednesday, 2016-12-07 16:19:52 +0100, Benjamin Gaignard wrote: > Some SoC without MMU have display driver where a drm/kms driver > could be implemented. > > Before doing such kind of thing drm/kms must allow to use mmuless devices. > This patch propose to remove MMU configuration flag and add

[PATCH] drm: hdlcd: Work properly in big-endian mode

2016-12-07 Thread Robin Murphy
On 07/12/16 15:57, Daniel Vetter wrote: > On Wed, Dec 07, 2016 at 03:31:40PM +, Robin Murphy wrote: >> Under a big-endian kernel, colours on the framebuffer all come out a >> delightful shade of wrong, since we fail to take the reversed byte >> order into account. Fortunately, the HDLCD has a

[PATCH] drm: hdlcd: Work properly in big-endian mode

2016-12-07 Thread Ville Syrjälä
On Wed, Dec 07, 2016 at 04:57:14PM +0100, Daniel Vetter wrote: > On Wed, Dec 07, 2016 at 03:31:40PM +, Robin Murphy wrote: > > Under a big-endian kernel, colours on the framebuffer all come out a > > delightful shade of wrong, since we fail to take the reversed byte > > order into account.

[Mesa-dev] [PATCH libdrm v2 5/5] xf86drm: implement an OpenBSD specific drmGetDevice2

2016-12-07 Thread Emil Velikov
On 6 December 2016 at 05:12, Jonathan Gray wrote: > On Mon, Dec 05, 2016 at 05:56:40PM +, Emil Velikov wrote: >> On 1 December 2016 at 04:18, Jonathan Gray wrote: >> > DRI devices on OpenBSD are not in their own directory. They reside in >> > /dev with a large number of statically generated

[PATCH] drm: hdlcd: Work properly in big-endian mode

2016-12-07 Thread Robin Murphy
On 07/12/16 16:42, Robin Murphy wrote: > On 07/12/16 15:57, Daniel Vetter wrote: >> On Wed, Dec 07, 2016 at 03:31:40PM +, Robin Murphy wrote: >>> Under a big-endian kernel, colours on the framebuffer all come out a >>> delightful shade of wrong, since we fail to take the reversed byte >>>

[pull] amdgpu drm-fixes-4.9

2016-12-07 Thread Alex Deucher
Hi Dave, If it's not too late, one last regression fix for amdgpu. The following changes since commit ab7cd8d83e5dba13027de66f1b008b08b30b71a4: Merge tag 'drm-intel-fixes-2016-12-01' of git://anongit.freedesktop.org/git/drm-intel into drm-fixes (2016-12-04 06:31:26 +1000) are available in

[PATCH v2] drm/i915/dsi: Fix swapping of MIPI_SEQ_DEASSERT_RESET / MIPI_SEQ_ASSERT_RESET

2016-12-07 Thread Ville Syrjälä
On Fri, Dec 02, 2016 at 04:01:28PM +0100, Hans de Goede wrote: > Looking at the ADF code from the Android kernel sources for a > cherrytrail tablet I noticed that it is calling the > MIPI_SEQ_ASSERT_RESET sequence from the panel prepare hook. > > Until commit b1cb1bd29189 ("drm/i915/dsi: update

[Intel-gfx] [RFC 0/5] DRM logging tidy

2016-12-07 Thread Robert Bragg
> > -- > 2.7.4 > > ___ > Intel-gfx mailing list > Intel-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx > -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161207/4fb87cc8/attachment-0001.html>

[PATCH 02/18] drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting

2016-12-07 Thread Ville Syrjälä
On Thu, Dec 01, 2016 at 09:29:09PM +0100, Hans de Goede wrote: > Set the CHV_GPIO_GPIOEN bit when updating GPIOs from chv_exec_gpio. > > Fixes: a0a6d4ffd2ad ("drm/i915/dsi: add support for gpio elements on CHV") > Cc: stable at vger.kernel.org > Cc: Jani Nikula > Cc: Ville Syrjälä >

[Bug 99013] [regression, bisected] radeonsi: commit 4c8c13b3 "Use amdgcn intrinsics for fs interpolation" makes system unusable

2016-12-07 Thread bugzilla-dae...@freedesktop.org
- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161207/3596769f/attachment.html>

[RFC v2] drm: Enable dynamic debug for DRM_[DEV]_DEBUG*

2016-12-07 Thread Robert Bragg
This is still missing corresponding documentation changes, and I haven't moved anything to drm_print.h yet, as suggested. Sending out with a few functional improvements first to get agreement before documenting anything (changes summarised in v2: section below) In particular, affecting the

[RFC] drm: Enable dynamic debug for DRM_[DEV]_DEBUG*

2016-12-07 Thread Robert Bragg
drm_dev_printk(dev, KERN_DEBUG, DRM_UT_ ## level, \ > > -__func__, "", fmt, ##args); \ > > + _DRM_DEBUG(DRM_UT_ ## category, fmt, ##args); \ > > }) > > > > /** > > @@ -268,21 +313,24 @@ struct dma_buf_attachment; > > * \param arg arguments > > */ > > #define DRM_DEV_DEBUG_RATELIMITED(dev, fmt, args...) \ > > - DEV__DRM_DEFINE_DEBUG_RATELIMITED(dev, CORE, fmt, ##args) > > + _DRM_DEFINE_DEBUG_RATELIMITED(dev, CORE, fmt, ##args) > > #define DRM_DEBUG_RATELIMITED(fmt, args...) \ > > - DRM_DEV_DEBUG_RATELIMITED(NULL, fmt, ##args) > > + _DRM_DEFINE_DEBUG_RATELIMITED(CORE, fmt, ##args) > > + > > #define DRM_DEV_DEBUG_DRIVER_RATELIMITED(dev, fmt, args...) \ > > _DRM_DEV_DEFINE_DEBUG_RATELIMITED(dev, DRIVER, fmt, ##args) > > #define DRM_DEBUG_DRIVER_RATELIMITED(fmt, args...) \ > > - DRM_DEV_DEBUG_DRIVER_RATELIMITED(NULL, fmt, ##args) > > + _DRM_DEV_DEFINE_DEBUG_RATELIMITED(DRIVER, fmt, ##args) > > + > > #define DRM_DEV_DEBUG_KMS_RATELIMITED(dev, fmt, args...) \ > > _DRM_DEV_DEFINE_DEBUG_RATELIMITED(dev, KMS, fmt, ##args) > > #define DRM_DEBUG_KMS_RATELIMITED(fmt, args...) > \ > > - DRM_DEV_DEBUG_KMS_RATELIMITED(NULL, fmt, ##args) > > + _DRM_DEFINE_DEBUG_RATELIMITED(KMS, fmt, ##args) > > + > > #define DRM_DEV_DEBUG_PRIME_RATELIMITED(dev, fmt, args...) \ > > _DRM_DEV_DEFINE_DEBUG_RATELIMITED(dev, PRIME, fmt, ##args) > > #define DRM_DEBUG_PRIME_RATELIMITED(fmt, args...)\ > > - DRM_DEV_DEBUG_PRIME_RATELIMITED(NULL, fmt, ##args) > > + _DRM_DEFINE_DEBUG_RATELIMITED(PRIME, fmt, ##args) > > > > /* Format strings and argument splitters to simplify printing > > * various "complex" objects > > Since I brought up some changes for the debug stuff itself, would it make > sense to split that from the general macro rework for all the non-debug > output, and merge that first? > > Another thing to look into: I think it'd be good to move all the print > definitions into drm_print.[hc], since drmP.h is a mess, and drm_drv.c not > really the right place. That would then also allow us to easily document > all the variants, and put something like the intro message for this commit > into the overview DOC: section. > -Daniel > -- > Daniel Vetter > Software Engineer, Intel Corporation > http://blog.ffwll.ch > -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161207/ff4a879d/attachment-0001.html>

[PATCH RFC] drm/sun4i: rgb: Add 5% tolerance to dot clock frequency check

2016-12-07 Thread Eric Anholt
he panel's mode actually scans out successfully. Then, since compatible strings are cheap, you can use a new one if necessary to attach better modes to the panel for a particular clock driver by adjusting your timings to get closer to the refresh rates you want. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 832 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161207/d2a9b314/attachment.sig>

[RESEND PATCH v2 4/7] drm/vc4: Add support for the VEC (Video Encoder) IP

2016-12-07 Thread Eric Anholt
hment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 832 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161207/ac9e00a2/attachment.sig>

[PATCH v2 2/3] drm/edid: Implement SCDC support detection

2016-12-07 Thread Jani Nikula
On Tue, 06 Dec 2016, Daniel Vetter wrote: > On Mon, Dec 05, 2016 at 06:11:44PM +0100, Thierry Reding wrote: >> On Mon, Dec 05, 2016 at 05:21:24PM +0100, Daniel Vetter wrote: >> > On Mon, Dec 05, 2016 at 12:11:46PM +0100, Thierry Reding wrote: >> > > On Mon, Dec 05, 2016 at 09:16:27AM +0100,

[PULL] MXSFB driver

2016-12-07 Thread Stefan Agner
On 2016-12-06 04:36, Marek Vasut wrote: > On 12/06/2016 08:53 AM, Daniel Vetter wrote: >> On Tue, Dec 06, 2016 at 11:08:06AM +1000, Dave Airlie wrote: >>> On 2 December 2016 at 04:02, Marek Vasut wrote: Hi, as asked by Daniel, I collected the MXSFB DT Acks and the driver and

[PATCH RFC] drm/sun4i: rgb: Add 5% tolerance to dot clock frequency check

2016-12-07 Thread Laurent Pinchart
Hi Eric, On Wednesday 07 Dec 2016 11:16:32 Eric Anholt wrote: > Maxime Ripard writes: > > [ Unknown signature status ] > > > > On Thu, Nov 24, 2016 at 07:22:31PM +0800, Chen-Yu Tsai wrote: > >> The panels shipped with Allwinner devices are very "generic", i.e. > >> they do not have model

[PULL] drm-intel-next-fixes

2016-12-07 Thread Jani Nikula
Hi Dave, first set of fixes for drm-next/v4.10-rc1. BR, Jani. The following changes since commit e9cbc4bd0140e1d4e0172e2fe8fe07ba278e5980: drm/i915: Update DRIVER_DATE to 20161121 (2016-11-21 09:45:03 +0100) are available in the git repository at:

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

2016-12-07 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161207/521adfc8/attachment.html>

[Nouveau] 4.9-rc7 nouveau fails on arm64 64k page kernel but works with 4k

2016-12-07 Thread Ilia Mirkin
On Wed, Dec 7, 2016 at 4:57 AM, Alexandre Courbot wrote: > On Wed, Dec 7, 2016 at 6:53 PM, Michel Dänzer wrote: >> On 07/12/16 06:39 PM, Alexandre Courbot wrote: >>> On Fri, Dec 2, 2016 at 12:23 PM, Ilia Mirkin >>> wrote: That's right -- nouveau currently requires 4k page sizes to work.

[Bug 99013] [regression, bisected] radeonsi: commit 4c8c13b3 "Use amdgcn intrinsics for fs interpolation" makes system unusable

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

[Bug 98638] Panic on shutdown with AMDGPU and Ubuntu Plymouth

2016-12-07 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20161207/b9b4e43a/attachment.html>

  1   2   >