Re: [PATCH 01/19] drm: debugfs: Remove all files automatically on cleanup

2017-01-27 Thread Daniel Vetter
On Thu, Jan 26, 2017 at 11:56:03PM +0100, Noralf Trønnes wrote: > Instead of having the drivers call drm_debugfs_remove_files() in > their drm_driver->debugfs_cleanup hook, do it automatically by > traversing minor->debugfs_list. > Also use debugfs_remove_recursive() so drivers who add their own >

Re: [PATCH 11/19] drm/omap: Remove omap_debugfs_cleanup()

2017-01-27 Thread Tomi Valkeinen
On 27/01/17 00:56, Noralf Trønnes wrote: > drm_debugfs_cleanup() now removes all minor->debugfs_list entries > automatically, so the drm_driver.debugfs_cleanup callback is not > needed. > > Cc: tomi.valkei...@ti.com > Signed-off-by: Noralf Trønnes > --- > drivers/gpu/drm/omapdrm/omap_debugfs.c |

Re: [PATCH 12/19] drm/radeon: Remove drm_debugfs_remove_files() call

2017-01-27 Thread Christian König
Am 26.01.2017 um 23:56 schrieb Noralf Trønnes: drm_debugfs_cleanup() now removes all minor->debugfs_list entries automatically, so it's not necessary to call drm_debugfs_remove_files(). Cc: alexander.deuc...@amd.com Cc: christian.koe...@amd.com Signed-off-by: Noralf Trønnes Great work! I want

Re: [PATCH 04/19] drm/amd/amdgpu: Remove drm_debugfs_remove_files() call

2017-01-27 Thread Christian König
Am 26.01.2017 um 23:56 schrieb Noralf Trønnes: drm_debugfs_cleanup() now removes all minor->debugfs_list entries automatically, so no need to call drm_debugfs_remove_files(). Also remove empty drm_driver.debugfs_cleanup callback. Cc: alexander.deuc...@amd.com Cc: christian.koe...@amd.com Signed-

Re: [PATCH] virtio-gpu: disable VIRGL with BE kernel

2017-01-27 Thread Gerd Hoffmann
On Di, 2017-01-24 at 14:12 +0100, Laurent Vivier wrote: > VIRTIO_GPU_F_VIRGL is added in features list only > for LE kernel, so we must check for it only on LE kernel, > otherwise virtio_has_feature() calls BUG() and > crashes the kernel. > > Suggested-by: Gerd Hoffmann > Signed-off-by: Laurent V

Re: [PATCH 1/4] drm: qxl: Drop misleading comment

2017-01-27 Thread Gerd Hoffmann
On Do, 2017-01-26 at 23:05 -0200, Gabriel Krisman Bertazi wrote: > No longer true since commit 07f8d9bdb235 ("drm/qxl: add support for > 1 > output"). qxl_num_crtc defaults to 4 and is configurable as a module > parameter. Picked up patches 1-3 for drm-qemu branch. Patch 4 doesn't apply and seem

[Bug 99555] LIBGL_ALWAYS_INDIRECT=1 causes all opengl programms to crash on second frame

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99555 Michel Dänzer changed: What|Removed |Added Product|Mesa|xorg QA Contact|dri-devel@lists.

Re: [PATCH] drm/ttm: Make sure BOs being swapped out are cacheable

2017-01-27 Thread Christian König
Am 27.01.2017 um 08:30 schrieb Daniel Vetter: On Fri, Jan 27, 2017 at 07:23:58AM +0100, Thomas Hellstrom wrote: On 01/27/2017 03:29 AM, Michel Dänzer wrote: On 26/01/17 09:46 AM, Sinclair Yeh wrote: On Wed, Jan 25, 2017 at 10:49:33AM +0100, Christian König wrote: Am 25.01.2017 um 10:25 schrie

Re: [PATCH 03/19] drm/atomic: Remove drm_atomic_debugfs_cleanup()

2017-01-27 Thread Daniel Vetter
On Thu, Jan 26, 2017 at 11:56:05PM +0100, Noralf Trønnes wrote: > drm_debugfs_cleanup() now removes all minor->debugfs_list entries > automatically, so no need to call drm_debugfs_remove_files(). > > Signed-off-by: Noralf Trønnes Merged up to this one to drm-misc, I'll wait with the others for a

[Bug 193341] AMDGPU: kernel NULL pointer dereferenced with hybrid graphics

2017-01-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=193341 --- Comment #1 from Michel Dänzer --- Same as https://bugzilla.kernel.org/show_bug.cgi?id=193341 . -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel maili

[Bug 193341] AMDGPU: kernel NULL pointer dereferenced with hybrid graphics

2017-01-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=193341 --- Comment #2 from Michel Dänzer --- Sorry, I mean https://bugs.freedesktop.org/show_bug.cgi?id=99387 . -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel

Re: [PATCH] drm/fourcc: add vivante tiled layout format modifiers

2017-01-27 Thread Lucas Stach
Am Donnerstag, den 26.01.2017, 18:24 +0100 schrieb Daniel Vetter: > On Thu, Jan 26, 2017 at 04:32:17PM +0100, Philipp Zabel wrote: > > Vivante GC hardware uses simple 4x4 tiled and nested 64x64 supertiled > > formats as well as so-called split-tiled variants for dual-pipe > > hardware, where even a

Re: [Intel-gfx] [PATCH 0/3] drm/i915: Handle hanging during nonblocking modeset correctly.

2017-01-27 Thread Chris Wilson
On Thu, Jan 26, 2017 at 04:59:21PM +0100, Maarten Lankhorst wrote: > When writing some testcases for nonblocking modesets. I found out that the > infinite wait on the old fb was causing issues. The crux of the issue here is the locked wait for old dependencies and the inability to inject the intel

Re: [PATCH 00/19] drm: debugfs: Remove all files automatically on cleanup

2017-01-27 Thread Thierry Reding
On Fri, Jan 27, 2017 at 08:49:34AM +0100, Daniel Vetter wrote: > On Thu, Jan 26, 2017 at 11:56:02PM +0100, Noralf Trønnes wrote: > > This patchset removes the need for drivers to clean up their debugfs > > files on exit. It is done automatically in drm_debugfs_cleanup(). > > This funtion is also ca

Re: [PATCH 14/19] drm/tegra: Remove tegra_debugfs_cleanup()

2017-01-27 Thread Thierry Reding
On Thu, Jan 26, 2017 at 11:56:16PM +0100, Noralf Trønnes wrote: > drm_debugfs_cleanup() now removes all minor->debugfs_list entries > automatically, so the drm_driver.debugfs_cleanup callback is not > needed. > > Cc: thierry.red...@gmail.com > Signed-off-by: Noralf Trønnes > --- > drivers/gpu/dr

Re: RFC: drm-misc for small drivers?

2017-01-27 Thread Liviu Dudau
On Fri, Jan 27, 2017 at 07:55:22AM +0100, Daniel Vetter wrote: > On Thu, Jan 26, 2017 at 9:48 PM, Liviu Dudau wrote: > >> I'm not certain number of people is a good metric, TBH. There are cases > >> where a lot of people are working on a driver, but the patches are not > >> being > >> merged to t

Re: [PATCH] drm/fourcc: add vivante tiled layout format modifiers

2017-01-27 Thread Philipp Zabel
On Thu, 2017-01-26 at 19:29 +0100, Wladimir J. van der Laan wrote: > Reviewed-By: Wladimir J. van der Laan Thank you. > I do wonder whether we'll need the split formats in practice - > e.g. the GC3000 on the i.MX6qp, for which I suppose this is being done because > of tiled buffers support in th

Re: [PATCH] drm/color: un-inline drm_color_lut_extract()

2017-01-27 Thread Lionel Landwerlin
Hi Jani, Looks good to me : Reviewed-by: Lionel Landwerlin On 23/01/17 09:42, Jani Nikula wrote: The function is not that big, but it's also not used for anything performance critical. Make it a normal function. As a side effect, this apparently makes sparse smarter about what it's doing, an

Re: [PATCH 07/19] drm/etnaviv: Remove etnaviv_debugfs_cleanup()

2017-01-27 Thread Lucas Stach
Am Donnerstag, den 26.01.2017, 23:56 +0100 schrieb Noralf Trønnes: > drm_debugfs_cleanup() now removes all minor->debugfs_list entries > automatically, so the drm_driver.debugfs_cleanup callback is not > needed. > > Cc: l.st...@pengutronix.de > Cc: linux+etna...@armlinux.org.uk > Cc: christian.gme

Re: [PATCH 06/19] drm/etnaviv: allow build with COMPILE_TEST

2017-01-27 Thread Lucas Stach
Am Donnerstag, den 26.01.2017, 23:56 +0100 schrieb Noralf Trønnes: > Make it possible to compile test the driver on other platforms. > > Cc: l.st...@pengutronix.de > Cc: linux+etna...@armlinux.org.uk > Cc: christian.gmei...@gmail.com > Signed-off-by: Noralf Trønnes I'm not sure we are pulling in

make fbdev/fbcon switchable per driver?

2017-01-27 Thread Gerd Hoffmann
Hi folks, Problem at hand: A virtual machine, equipped with two display devices, one virtual, one physical (using pci pass-through, or kvmgt-based vgpu). There is no easy way for the user to configure which of the two display devices fbcon should run on. i915 happens to win over bochs-drm or

Re: [PATCH 15/19] drm/tilcdc: Remove tilcdc_debugfs_cleanup()

2017-01-27 Thread Jyri Sarha
On 01/27/17 00:56, Noralf Trønnes wrote: > drm_debugfs_cleanup() now removes all minor->debugfs_list entries > automatically, so the drm_driver.debugfs_cleanup callback is not > needed. Also remove the unused tilcdc_module_ops.debugfs_cleanup() > callback. drm_debugfs_cleanup() removes all debugfs

[PATCH 2/2] drm/omapdrm: Move commit_modeset_enables() before commit_planes()

2017-01-27 Thread Jyri Sarha
Move drm_atomic_helper_commit_modeset_enables() call to before drm_atomic_helper_commit_planes() call and have a omap_atomic_wait_for_completion() call after both. With the current dss dispc implementation we have to enable the new modeset before we can commit planes. The dispc ovl configuration r

[PATCH 1/2] Revert "drm: omapdrm: Let the DRM core skip plane commit on inactive CRTCs"

2017-01-27 Thread Jyri Sarha
This reverts commit dadf4659d0608e034b6633f30300c2eff2dafb4c. If planes are not disabled when the they are not on any crtc anymore they will remain active and may show as "ghosts" when the crtc they were last on is active again. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/omapdrm/omap_crtc.c

[PATCH 0/2] drm/omapdrm: Couple of plane related fixes

2017-01-27 Thread Jyri Sarha
I hit these two problems while tracking scaling related problems with omapdrm on DSS5 HW. Jyri Sarha (2): Revert "drm: omapdrm: Let the DRM core skip plane commit on inactive CRTCs" drm/omapdrm: Move commit_modeset_enables() before commit_planes() drivers/gpu/drm/omapdrm/omap_crtc.c | 8

[Bug 99130] [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99130 --- Comment #22 from Dorota Czaplejewicz --- I haven't seen the underlying slowness causing problems anywhere else yet. Perhaps we can close this and reopen if it reappears. -- You are receiving this mail because: You are the assignee for the

[Bug 99130] [IVB] CONFIG_PROVE_LOCKING=y causes igt/gem_exec/basic-wait-all (and possibly others) to fail

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99130 Chris Wilson changed: What|Removed |Added Resolution|--- |WORKSFORME Status|NEW

[PATCH] drm/atomic: clear out fence when duplicating state

2017-01-27 Thread Lucas Stach
The fence needs to be cleared out, otherwise the following commit might wait on a stale fence from the previous commit. This was fixed as a side effect of 9626014258a5 (drm/fence: add in-fences support) in kernel 4.10. As this commit introduces new functionality and as such can not be applied to s

Re: Warning at drivers/gpu/drm/drm_atomic_helper.c

2017-01-27 Thread Lucas Stach
Am Mittwoch, den 25.01.2017, 09:47 -0200 schrieb Fabio Estevam: > On Wed, Jan 25, 2017 at 9:30 AM, Lucas Stach wrote: > > > Kernel 4.10 just moves the fence attach to the plane state. It has > > nothing to do with the used commit function. The issue going away if you > > change that on kernel 4.9

Re: [PATCH 13/19] drm/sti: Remove drm_debugfs_remove_files() calls

2017-01-27 Thread Vincent ABRIOU
Thank for this patch. It is working fine with sti driver. Acked-by: Vincent Abriou Tested-by: Vincent Abriou Vincent On 01/26/2017 11:56 PM, Noralf Trønnes wrote: > drm_debugfs_cleanup() now removes all minor->debugfs_list entries > automatically, so it's not necessary to call > drm_debugfs_re

[PATCH] drm/color: Include CTM equations in kerneldoc

2017-01-27 Thread Brian Starkey
Explicitly state the expected CTM equations in the kerneldoc for the CTM property. Cc: Ville Syrjälä Cc: Lionel Landwerlin Cc: Daniel Vetter Signed-off-by: Brian Starkey --- Hi, This captures the outcome of the discussion on #dri-devel yesterday (2017-01-26): https://people.freedesktop.org/~

Re: [PATCH] drm/color: un-inline drm_color_lut_extract()

2017-01-27 Thread Jani Nikula
On Fri, 27 Jan 2017, Lionel Landwerlin wrote: > Hi Jani, > > Looks good to me : > > Reviewed-by: Lionel Landwerlin Thanks for the reviews, pushed... to drm-intel-next-queued instead of drm-misc-next. /o\ Dave, Daniel, please advise, shall I revert or shall we let this flow in via drm-intel? So

Re: [PATCH] drm/atomic: clear out fence when duplicating state

2017-01-27 Thread Fabio Estevam
Hi Lucas, On Fri, Jan 27, 2017 at 8:33 AM, Lucas Stach wrote: > The fence needs to be cleared out, otherwise the following commit > might wait on a stale fence from the previous commit. This was fixed > as a side effect of 9626014258a5 (drm/fence: add in-fences support) > in kernel 4.10. > > As t

Re: [PATCH 08/19] drm/hdlcd: Remove hdlcd_debugfs_cleanup()

2017-01-27 Thread Local user for Liviu Dudau
On Thu, Jan 26, 2017 at 11:56:10PM +0100, Noralf Trønnes wrote: > drm_debugfs_cleanup() now removes all minor->debugfs_list entries > automatically, so the drm_driver.debugfs_cleanup callback is not > needed. > > Cc: liviu.du...@arm.com > Signed-off-by: Noralf Trønnes Acked-by: Liviu Dudau Tha

Re: [PATCH] Gpu: drm: rockchip - Fix possible NULL derefrence.

2017-01-27 Thread Corentin Labbe
On Fri, Jan 27, 2017 at 04:41:50PM +0530, Shailendra Verma wrote: > of_match_device could return NULL, and so can cause a NULL > pointer dereference later. > > Signed-off-by: Shailendra Verma > --- > drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 13 ++--- > 1 file changed, 10 insertions(+),

Re: [PATCH] drm/color: Include CTM equations in kerneldoc

2017-01-27 Thread Ville Syrjälä
On Fri, Jan 27, 2017 at 10:47:48AM +, Brian Starkey wrote: > Explicitly state the expected CTM equations in the kerneldoc for the CTM > property. > > Cc: Ville Syrjälä > Cc: Lionel Landwerlin > Cc: Daniel Vetter > Signed-off-by: Brian Starkey > --- > > Hi, > > This captures the outcome o

[drm-intel:drm-intel-next-queued 0/1] htmldocs: include/drm/drm_color_mgmt.h:1: warning: no structured comments found

2017-01-27 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued head: 920bcd1820a6966b6224f62eadcb4e931bb72e8e commit: 2eebe4f2d5f4c91edc37801d828ba29edfbc7722 [0/1] drm/color: un-inline drm_color_lut_extract() reproduce: make htmldocs All warnings (new ones prefixed by >>): make[3]:

Re: [PATCH v2 11/13] drm/i915: Add intel_uncore_suspend / resume functions

2017-01-27 Thread Ville Syrjälä
On Mon, Jan 23, 2017 at 10:09:56PM +0100, Hans de Goede wrote: > Rename intel_uncore_early_sanitize to intel_uncore_resume, dropping the > (always true) restore_forcewake argument and add a new intel_uncore_resume > function to replace the intel_uncore_forcewake_reset(dev_priv, false) > calls done

Re: [PATCH] drm/color: Include CTM equations in kerneldoc

2017-01-27 Thread Brian Starkey
On Fri, Jan 27, 2017 at 03:27:09PM +0200, Ville Syrjälä wrote: On Fri, Jan 27, 2017 at 10:47:48AM +, Brian Starkey wrote: Explicitly state the expected CTM equations in the kerneldoc for the CTM property. Cc: Ville Syrjälä Cc: Lionel Landwerlin Cc: Daniel Vetter Signed-off-by: Brian Star

Re: [PATCH v2 13/13] drm/i915: Acquire P-Unit access when modifying P-Unit settings

2017-01-27 Thread Ville Syrjälä
On Mon, Jan 23, 2017 at 10:09:58PM +0100, Hans de Goede wrote: > Make sure the P-Unit or the PMIC i2c bus is not in use when we send a > request to the P-Unit by calling iosf_mbi_punit_acquire() / _release() > around P-Unit write accesses. Can't we just stuff the calls into the actual punit write

Re: [PATCH 1/4] drm: qxl: Drop misleading comment

2017-01-27 Thread Daniel Vetter
On Fri, Jan 27, 2017 at 09:20:42AM +0100, Gerd Hoffmann wrote: > On Do, 2017-01-26 at 23:05 -0200, Gabriel Krisman Bertazi wrote: > > No longer true since commit 07f8d9bdb235 ("drm/qxl: add support for > 1 > > output"). qxl_num_crtc defaults to 4 and is configurable as a module > > parameter. > >

Re: [PATCH v2 12/13] drm/i915: Listen for PMIC bus access notifications

2017-01-27 Thread Ville Syrjälä
On Mon, Jan 23, 2017 at 10:09:57PM +0100, Hans de Goede wrote: > Listen for PMIC bus access notifications and get FORCEWAKE_ALL while > the bus is accessed to avoid needing to do any forcewakes, which need > PMIC bus access, while the PMIC bus is busy: > > This fixes errors like these showing up i

Re: [PATCH v1] drm/prime: Clarify DMA-BUF/GEM Object lifetime

2017-01-27 Thread Daniel Vetter
On Fri, Jan 27, 2017 at 09:04:25AM +0200, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > From the description of the "DMA-BUF/GEM Object references > and lifetime overview" it is not clear when exactly > dma_buf gets destroyed and memory freed: only driver > .release function

Re: make fbdev/fbcon switchable per driver?

2017-01-27 Thread Daniel Vetter
On Fri, Jan 27, 2017 at 11:00:38AM +0100, Gerd Hoffmann wrote: > Hi folks, > > Problem at hand: A virtual machine, equipped with two display devices, > one virtual, one physical (using pci pass-through, or kvmgt-based vgpu). > > There is no easy way for the user to configure which of the two d

Re: [PATCH] drm/atomic: clear out fence when duplicating state

2017-01-27 Thread Daniel Vetter
On Fri, Jan 27, 2017 at 11:33:04AM +0100, Lucas Stach wrote: > The fence needs to be cleared out, otherwise the following commit > might wait on a stale fence from the previous commit. This was fixed > as a side effect of 9626014258a5 (drm/fence: add in-fences support) > in kernel 4.10. > > As thi

Re: [Intel-gfx] [PATCH] drm/i915: fix use-after-free in page_flip_completed()

2017-01-27 Thread Daniel Vetter
On Thu, Jan 26, 2017 at 02:46:20PM +, Chris Wilson wrote: > On Thu, Jan 26, 2017 at 05:32:11PM +0300, Andrey Ryabinin wrote: > > page_flip_completed() dereferences 'work' variable after executing > > queue_work(). This is not safe as the 'work' item might be already freed > > by queued work: >

Re: [PATCH] drm/i915: minor corner case fix to respect user's backlight setting

2017-01-27 Thread Jani Nikula
On Fri, 27 Jan 2017, Harry Pan wrote: > When enabling panel backlight, if the current backlight level > setting matches the panel's minimal, it would apply default policy to > override the current level by the panel's maximum until next request > to update brightness, this leads unexpected user co

Re: [PATCH 00/19] drm: debugfs: Remove all files automatically on cleanup

2017-01-27 Thread Daniel Vetter
On Fri, Jan 27, 2017 at 10:36:16AM +0100, Thierry Reding wrote: > On Fri, Jan 27, 2017 at 08:49:34AM +0100, Daniel Vetter wrote: > > On Thu, Jan 26, 2017 at 11:56:02PM +0100, Noralf Trønnes wrote: > > > This patchset removes the need for drivers to clean up their debugfs > > > files on exit. It is

Re: [PATCH] drm/ttm: Make sure BOs being swapped out are cacheable

2017-01-27 Thread Daniel Vetter
On Fri, Jan 27, 2017 at 09:22:47AM +0100, Christian König wrote: > Am 27.01.2017 um 08:30 schrieb Daniel Vetter: > > On Fri, Jan 27, 2017 at 07:23:58AM +0100, Thomas Hellstrom wrote: > > > On 01/27/2017 03:29 AM, Michel Dänzer wrote: > > > > On 26/01/17 09:46 AM, Sinclair Yeh wrote: > > > > > On We

Re: [PATCH] drm/color: Include CTM equations in kerneldoc

2017-01-27 Thread Ville Syrjälä
On Fri, Jan 27, 2017 at 01:50:19PM +, Brian Starkey wrote: > On Fri, Jan 27, 2017 at 03:27:09PM +0200, Ville Syrjälä wrote: > >On Fri, Jan 27, 2017 at 10:47:48AM +, Brian Starkey wrote: > >> Explicitly state the expected CTM equations in the kerneldoc for the CTM > >> property. > >> > >> Cc

Re: [PATCH 00/19] drm: debugfs: Remove all files automatically on cleanup

2017-01-27 Thread Noralf Trønnes
Den 27.01.2017 08.49, skrev Daniel Vetter: On Thu, Jan 26, 2017 at 11:56:02PM +0100, Noralf Trønnes wrote: This patchset removes the need for drivers to clean up their debugfs files on exit. It is done automatically in drm_debugfs_cleanup(). This funtion is also called should the driver error o

Re: [PATCH 06/19] drm/etnaviv: allow build with COMPILE_TEST

2017-01-27 Thread Daniel Vetter
On Fri, Jan 27, 2017 at 10:57:30AM +0100, Lucas Stach wrote: > Am Donnerstag, den 26.01.2017, 23:56 +0100 schrieb Noralf Trønnes: > > Make it possible to compile test the driver on other platforms. > > > > Cc: l.st...@pengutronix.de > > Cc: linux+etna...@armlinux.org.uk > > Cc: christian.gmei...@g

Re: [Intel-gfx] [PATCH 0/3] drm/i915: Handle hanging during nonblocking modeset correctly.

2017-01-27 Thread Daniel Vetter
On Fri, Jan 27, 2017 at 09:30:50AM +, Chris Wilson wrote: > On Thu, Jan 26, 2017 at 04:59:21PM +0100, Maarten Lankhorst wrote: > > When writing some testcases for nonblocking modesets. I found out that the > > infinite wait on the old fb was causing issues. > > The crux of the issue here is th

Re: [PATCH 00/19] drm: debugfs: Remove all files automatically on cleanup

2017-01-27 Thread Daniel Vetter
On Fri, Jan 27, 2017 at 03:23:43PM +0100, Noralf Trønnes wrote: > > Den 27.01.2017 08.49, skrev Daniel Vetter: > > On Thu, Jan 26, 2017 at 11:56:02PM +0100, Noralf Trønnes wrote: > > > This patchset removes the need for drivers to clean up their debugfs > > > files on exit. It is done automaticall

Re: [PATCH] drm/color: Include CTM equations in kerneldoc

2017-01-27 Thread Daniel Vetter
On Fri, Jan 27, 2017 at 04:13:42PM +0200, Ville Syrjälä wrote: > On Fri, Jan 27, 2017 at 01:50:19PM +, Brian Starkey wrote: > > On Fri, Jan 27, 2017 at 03:27:09PM +0200, Ville Syrjälä wrote: > > >On Fri, Jan 27, 2017 at 10:47:48AM +, Brian Starkey wrote: > > >> Explicitly state the expected

Re: [Intel-gfx] [PATCH 0/3] drm/i915: Handle hanging during nonblocking modeset correctly.

2017-01-27 Thread Chris Wilson
On Fri, Jan 27, 2017 at 03:21:29PM +0100, Daniel Vetter wrote: > On Fri, Jan 27, 2017 at 09:30:50AM +, Chris Wilson wrote: > > On Thu, Jan 26, 2017 at 04:59:21PM +0100, Maarten Lankhorst wrote: > > > When writing some testcases for nonblocking modesets. I found out that the > > > infinite wait

Re: [PATCH] drm/color: un-inline drm_color_lut_extract()

2017-01-27 Thread Jani Nikula
On Fri, 27 Jan 2017, Jani Nikula wrote: > On Fri, 27 Jan 2017, Lionel Landwerlin wrote: >> Hi Jani, >> >> Looks good to me : >> >> Reviewed-by: Lionel Landwerlin > > Thanks for the reviews, pushed... to drm-intel-next-queued instead of > drm-misc-next. /o\ > > Dave, Daniel, please advise, shall

Re: [PATCH] drm/color: Include CTM equations in kerneldoc

2017-01-27 Thread Ville Syrjälä
On Fri, Jan 27, 2017 at 03:31:06PM +0100, Daniel Vetter wrote: > On Fri, Jan 27, 2017 at 04:13:42PM +0200, Ville Syrjälä wrote: > > On Fri, Jan 27, 2017 at 01:50:19PM +, Brian Starkey wrote: > > > On Fri, Jan 27, 2017 at 03:27:09PM +0200, Ville Syrjälä wrote: > > > >On Fri, Jan 27, 2017 at 10:4

Re: make fbdev/fbcon switchable per driver?

2017-01-27 Thread Liviu Dudau
On Fri, Jan 27, 2017 at 03:02:42PM +0100, Daniel Vetter wrote: > On Fri, Jan 27, 2017 at 11:00:38AM +0100, Gerd Hoffmann wrote: > > Hi folks, > > > > Problem at hand: A virtual machine, equipped with two display devices, > > one virtual, one physical (using pci pass-through, or kvmgt-based vgpu

Re: [PATCH] drm/ttm: Make sure BOs being swapped out are cacheable

2017-01-27 Thread Christian König
Am 27.01.2017 um 15:12 schrieb Daniel Vetter: On Fri, Jan 27, 2017 at 09:22:47AM +0100, Christian König wrote: Am 27.01.2017 um 08:30 schrieb Daniel Vetter: On Fri, Jan 27, 2017 at 07:23:58AM +0100, Thomas Hellstrom wrote: On 01/27/2017 03:29 AM, Michel Dänzer wrote: On 26/01/17 09:46 AM, Sin

Re: [PATCH] dma/fence: Export enable-signaling tracepoint for emission by drivers

2017-01-27 Thread Chris Wilson
On Tue, Jan 24, 2017 at 11:57:58AM +, Chris Wilson wrote: > Currently this tracepoint is solely used by dma_fence_enable_sw_signaling, > however I have a need to manually perform the hw enabling of the > signaling and would like to emit this tracepoint for completeness. > > Signed-off-by: Chri

Re: [PATCH] drm/ttm: Make sure BOs being swapped out are cacheable

2017-01-27 Thread Daniel Vetter
On Fri, Jan 27, 2017 at 03:43:18PM +0100, Christian König wrote: > Am 27.01.2017 um 15:12 schrieb Daniel Vetter: > > On Fri, Jan 27, 2017 at 09:22:47AM +0100, Christian König wrote: > > > Am 27.01.2017 um 08:30 schrieb Daniel Vetter: > > > > On Fri, Jan 27, 2017 at 07:23:58AM +0100, Thomas Hellstro

Re: [PATCH] dma/fence: Export enable-signaling tracepoint for emission by drivers

2017-01-27 Thread Gustavo Padovan
Hi Chris, 2017-01-24 Chris Wilson : > Currently this tracepoint is solely used by dma_fence_enable_sw_signaling, > however I have a need to manually perform the hw enabling of the > signaling and would like to emit this tracepoint for completeness. > > Signed-off-by: Chris Wilson > Cc: Sumit Se

[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 Christoph Haag changed: What|Removed |Added Depends on||82717 --- Comment #2 from Christoph Haa

[Bug 82717] OpenCL support for mandelbulber-opencl

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=82717 Christoph Haag changed: What|Removed |Added Blocks||99553 Referenced Bugs: https://bugs.f

Re: [Intel-gfx] [PATCH 0/3] drm/i915: Handle hanging during nonblocking modeset correctly.

2017-01-27 Thread Daniel Vetter
On Fri, Jan 27, 2017 at 02:31:55PM +, Chris Wilson wrote: > On Fri, Jan 27, 2017 at 03:21:29PM +0100, Daniel Vetter wrote: > > On Fri, Jan 27, 2017 at 09:30:50AM +, Chris Wilson wrote: > > > On Thu, Jan 26, 2017 at 04:59:21PM +0100, Maarten Lankhorst wrote: > > > > When writing some testcas

[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 Andreas Boll changed: What|Removed |Added Depends on||96296 Referenced Bugs: https://bugs.fre

[Bug 96296] clpeak causes a GPU hang

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96296 Andreas Boll changed: What|Removed |Added Blocks||99553 Referenced Bugs: https://bugs.fre

Re: [PATCH] drm/ttm: Make sure BOs being swapped out are cacheable

2017-01-27 Thread Alex Deucher
On Fri, Jan 27, 2017 at 3:22 AM, Christian König wrote: > Am 27.01.2017 um 08:30 schrieb Daniel Vetter: >> >> On Fri, Jan 27, 2017 at 07:23:58AM +0100, Thomas Hellstrom wrote: >>> >>> On 01/27/2017 03:29 AM, Michel Dänzer wrote: On 26/01/17 09:46 AM, Sinclair Yeh wrote: > > On We

[Bug 99510] cl_khr_fp64 is reported as supported, but is not, on CAYMAN

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99510 Andreas Boll changed: What|Removed |Added Blocks||99553 Referenced Bugs: https://bugs.fre

[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 Andreas Boll changed: What|Removed |Added Depends on||99510 Referenced Bugs: https://bugs.fre

Re: [Intel-gfx] [PATCH 0/3] drm/i915: Handle hanging during nonblocking modeset correctly.

2017-01-27 Thread Chris Wilson
On Fri, Jan 27, 2017 at 03:58:08PM +0100, Daniel Vetter wrote: > On Fri, Jan 27, 2017 at 02:31:55PM +, Chris Wilson wrote: > > On Fri, Jan 27, 2017 at 03:21:29PM +0100, Daniel Vetter wrote: > > > On Fri, Jan 27, 2017 at 09:30:50AM +, Chris Wilson wrote: > > > > On Thu, Jan 26, 2017 at 04:59

[Bug 193341] AMDGPU: kernel NULL pointer dereferenced with hybrid graphics

2017-01-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=193341 Alex Deucher changed: What|Removed |Added CC||alexdeuc...@gmail.com --- Comment #3 from

[Bug 99387] Kernel 4.9: Kaveri + Hainan choked on boot using amdgpu

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99387 --- Comment #8 from Alex Deucher --- Created attachment 129182 --> https://bugs.freedesktop.org/attachment.cgi?id=129182&action=edit possible fix This patch should fix the crash. -- You are receiving this mail because: You are the assignee f

[PATCH v2] drm/color: un-inline drm_color_lut_extract()

2017-01-27 Thread Jani Nikula
The function is not that big, but it's also not used for anything performance critical. Make it a normal function. As a side effect, this apparently makes sparse smarter about what it's doing, and gets rid of the warning: ./include/drm/drm_color_mgmt.h:53:28: warning: shift too big (4294967295) f

Re: [PATCH libdrm] tests/util: Add support for meson module

2017-01-27 Thread Emil Velikov
On 27 January 2017 at 07:47, Thierry Reding wrote: > On Thu, Jan 26, 2017 at 04:14:56PM +, Emil Velikov wrote: >> On 26 January 2017 at 15:49, Thierry Reding wrote: >> > On Fri, Jan 20, 2017 at 06:28:39PM +, Emil Velikov wrote: >> >> On 20 January 2017 at 16:17, Thierry Reding wrote: >>

Re: [PATCH libdrm] tests: Use -pthread in CFLAGS instead of -lpthread

2017-01-27 Thread Emil Velikov
On 27 January 2017 at 07:21, Tomasz Figa wrote: > -lpthread is not always a valid flag to pull pthread support, especially > on Android it will fail to link due to a missing libpthread.so. The more > generic way to build-in pthread support is to use the -pthread CFLAG, so > let's use it instead. >

Re: RFC: drm-misc for small drivers?

2017-01-27 Thread Sean Paul
On Fri, Jan 27, 2017 at 1:32 AM, Daniel Vetter wrote: > On Thu, Jan 26, 2017 at 8:11 PM, Sean Paul wrote: >> On Thu, Jan 26, 2017 at 06:08:42PM +0100, Daniel Vetter wrote: >>> - Should it be an entire separate tree for soc drivers? Problem here >>> is that we lack a volunteer group (and imo it re

Re: [PATCH 1/4] drm: qxl: Drop misleading comment

2017-01-27 Thread Gabriel Krisman Bertazi
Daniel Vetter writes: > On Fri, Jan 27, 2017 at 09:20:42AM +0100, Gerd Hoffmann wrote: >> On Do, 2017-01-26 at 23:05 -0200, Gabriel Krisman Bertazi wrote: >> > No longer true since commit 07f8d9bdb235 ("drm/qxl: add support for > 1 >> > output"). qxl_num_crtc defaults to 4 and is configurable as

Re: RFC: drm-misc for small drivers?

2017-01-27 Thread Alex Deucher
On Fri, Jan 27, 2017 at 1:52 AM, Daniel Vetter wrote: > On Thu, Jan 26, 2017 at 8:48 PM, Eric Anholt wrote: >>> - Should we require review or at least acks for patches committed by >>> the author? We have a bunch of drivers with effectively just 1 person >>> working on it, where getting real revi

Re: [PATCH] dma/fence: Export enable-signaling tracepoint for emission by drivers

2017-01-27 Thread Sumit Semwal
fwiw, On 27 January 2017 at 20:25, Gustavo Padovan wrote: > Hi Chris, > > 2017-01-24 Chris Wilson : > >> Currently this tracepoint is solely used by dma_fence_enable_sw_signaling, >> however I have a need to manually perform the hw enabling of the >> signaling and would like to emit this tracepo

Re: [RFC PATCH v2 2/5] drm: hdlcd: use vblank hooks in struct drm_crtc_funcs

2017-01-27 Thread Liviu Dudau
On Sun, Jan 22, 2017 at 02:09:03PM +0800, Shawn Guo wrote: > From: Shawn Guo > > The vblank hooks in struct drm_driver are deprecated and only meant for > legacy drivers. For modern drivers with DRIVER_MODESET flag, the hooks > in struct drm_crtc_funcs should be used instead. > > Signed-off-by:

DRM Atomic property for color-space conversion

2017-01-27 Thread Brian Starkey
Hi, We're looking to enable the per-plane color management hardware in Mali-DP with atomic properties, which has sparked some conversation around how to handle YCbCr formats. As it stands today, it's assumed that a driver will implicitly "do the right thing" to display a YCbCr buffer. YCbCr dat

[pull] radeon and amdgpu drm-next-4.11

2017-01-27 Thread Alex Deucher
Hi Dave, This is the main feature pull for radeon and amdgpu for 4.11. Highlights: - Power and clockgating improvements - Preliminary SR-IOV support - ttm buffer priority support - ttm eviction fixes - Removal of the ttm lru callbacks - Remove SI DPM quirks due to MC firmware issues - Handle VFCT

Re: [PATCH] dma/fence: Export enable-signaling tracepoint for emission by drivers

2017-01-27 Thread Gustavo Padovan
Hi Chris, 2017-01-24 Chris Wilson : > Currently this tracepoint is solely used by dma_fence_enable_sw_signaling, > however I have a need to manually perform the hw enabling of the > signaling and would like to emit this tracepoint for completeness. > > Signed-off-by: Chris Wilson > Cc: Sumit Se

[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 --- Comment #3 from Vedran Miletić --- Thanks for contributing. Very glad to hear about Mandelbulber almost working. I have added it to [1] as well. [1] https://en.wikipedia.org/wiki/List_of_OpenCL_applications -- You are receiving this mail b

[PATCH] MAINTAINERS: add dma-fence* files to Sync File maintainership

2017-01-27 Thread Gustavo Padovan
From: Gustavo Padovan As Sync File is highly dependent on dma-fence* tracks it under SYNC FILE_FRAMEWORK as well. Signed-off-by: Gustavo Padovan --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index bdc4843..c1c000d 100644 --- a/MAINTAINERS +++ b/M

Re: [PATCH 16/19] drm/vc4: Remove vc4_debugfs_cleanup()

2017-01-27 Thread Eric Anholt
Noralf Trønnes writes: > drm_debugfs_cleanup() now removes all minor->debugfs_list entries > automatically, so the drm_driver.debugfs_cleanup callback is not > needed. Nice! Reviewed-by: Eric Anholt signature.asc Description: PGP signature ___ dri-

Re: [PATCH 3/5] drm/dp/mst: change MST detection scheme

2017-01-27 Thread Krzysztof Nowicki
On środa, 25 stycznia 2017 12:24:35 CET Alex Deucher wrote: > On Wed, Jan 25, 2017 at 12:16 PM, Krzysztof Nowicki > > wrote: > > Hi, > > > > > > Is this patch still being considered for pulling in? > > > > Recently I've been fighting with a HP UltraSlim docking station with a MST > > hub insid

Re: make fbdev/fbcon switchable per driver?

2017-01-27 Thread Alex Williamson
On Fri, 27 Jan 2017 11:00:38 +0100 Gerd Hoffmann wrote: > Hi folks, > > Problem at hand: A virtual machine, equipped with two display devices, > one virtual, one physical (using pci pass-through, or kvmgt-based vgpu). > > There is no easy way for the user to configure which of the two displa

[Bug 74973] [radeonsi] Gimp OpenCL does not work

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74973 --- Comment #4 from Jan Vesely --- does GIMP use OpenGL other than GEGL library? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.fre

[Bug 74973] [radeonsi] Gimp OpenCL does not work

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=74973 --- Comment #5 from darkbasic --- Not sure, but I don't think so. AFAIK it' only GEGL-related stuff. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

[Bug 96881] ViennaCL fails dense_blas-bench-opencl benchmark with doubles on AMD CYPRESS (DRM 2.43.0, LLVM 3.8.0)

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96881 Jan Vesely changed: What|Removed |Added Blocks||99553 Referenced Bugs: https://bugs.freed

[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 Jan Vesely changed: What|Removed |Added Depends on||96881 Referenced Bugs: https://bugs.freed

[Bug 80876] luxrays/slg4 hangs GPU (CEDAR)

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80876 Jan Vesely changed: What|Removed |Added Blocks||99553 Referenced Bugs: https://bugs.freed

[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 Jan Vesely changed: What|Removed |Added Depends on||80876 Referenced Bugs: https://bugs.freed

[Bug 81896] GPU reset when running some "John the Ripper" (+ jumbo patch, from Git) OpenCL tests

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=81896 Jan Vesely changed: What|Removed |Added Blocks||99553 Referenced Bugs: https://bugs.freed

[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 Jan Vesely changed: What|Removed |Added Depends on||81896 Referenced Bugs: https://bugs.freed

[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99553 Jan Vesely changed: What|Removed |Added Depends on||68857 Referenced Bugs: https://bugs.freed

[Bug 68857] SNU OpenCL NAS Parallel Benchmarks don't work

2017-01-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68857 Jan Vesely changed: What|Removed |Added Blocks||99553 Referenced Bugs: https://bugs.freed

  1   2   >