[Bug 71789] [r300g] Visuals not found in (default) depth = 24

2016-05-02 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/20160502/29100429/attachment.html>

[Bug 91880] Radeonsi on Grenada cards (r9 390) exceptionally unstable and poorly performing

2016-05-02 Thread bugzilla-dae...@freedesktop.org
me. Using kernel 4.6rc5 on openSUSE Tumbleweed. -- 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/20160502/9eb10fe2/attachment.html>

[PATCH v3 0/3] drm/msm: Remove drm_driver load/unload ops

2016-05-02 Thread Archit Taneja
Registering the drm_device using the drm_driver load/unload ops is deprecated since it is prone to race conditions. The second and third patches removes the usage of these ops. The first patch prevents warnings when we try to remove the drm/msm kernel module. Changes in v3: - Minor change in the

[PATCH v3 1/3] drm/msm/hdmi: Prevent gpio_free related kernel warnings

2016-05-02 Thread Archit Taneja
Calling the legacy gpio_free on an invalid GPIO (a GPIO numbered -1) results in kernel warnings. This causes a lot of backtraces when we try to unload the drm/msm module. Call gpio_free only on valid GPIOs. Signed-off-by: Archit Taneja --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 9 +++--

[PATCH v3 2/3] drm/msm: Centralize connector registration/unregistration

2016-05-02 Thread Archit Taneja
Move the drm_connector registration from the encoder(HDMI/DSI etc) drivers to the msm platform driver. This will simplify the task of ensuring that the connectors are registered only after the drm_device itself is registered. The connectors' destroy ops are made to use kzalloc instead of devm_kzal

[PATCH v3 3/3] drm/msm: Drop load/unload drm_driver ops

2016-05-02 Thread Archit Taneja
The load/unload drm_driver ops are deprecated. They should be removed as they result in creation of devices visible to userspace even before the drm_device is registered. Drop these ops and use drm_dev_alloc/register and drm_dev_unregister/unref to explicitly create and destroy the drm device in t

[nexus7-flo] backlight brightness

2016-05-02 Thread Thierry Reding
ndardization, even though these seem to be part of DCS 1.3. But perhaps we can start by being optimistic. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160502/82179796/attachment.sig>

[PATCH] drm/gem: support BO freeing without dev->struct_mutex

2016-05-02 Thread Daniel Vetter
Finally all the core gem and a lot of drivers are entirely free of dev->struct_mutex depencies, and we can start to have an entirely lockless unref path. To make sure that no one who touches the core code accidentally breaks existing drivers which still require dev->struct_mutex I've made the migh

[PULL] drm-intel-fixes

2016-05-02 Thread Jani Nikula
Hi Dave, i915 fixes for 4.6. A bit more than I'd like at this stage, but OTOH they're all stable material. BR, Jani. The following changes since commit 02da2d72174c61988eb4456b53f405e3ebdebce4: Linux 4.6-rc5 (2016-04-24 16:17:05 -0700) are available in the git repository at: git://anongit

[REBASED PATCH] drm/core: Do not preserve framebuffer on rmfb, v3.

2016-05-02 Thread Maarten Lankhorst
It turns out that preserving framebuffers after the rmfb call breaks vmwgfx userspace. This was originally introduced because it was thought nobody relied on the behavior, but unfortunately it seems there are exceptions. drm_framebuffer_remove may fail with -EINTR now, so a straight revert is impo

[Intel-gfx] i915 ERRORs and WARN_ON()s

2016-05-02 Thread Florian Zumbiehl
Hi, > I fully understand your frustration with all this - you have a bug and > it's annoying and creating bugzilla accounts all over the internet is > indeed not a good way to do things. Unfortunately bugzilla is the > standard, and we don't have the manpower to write our own, nor do the > freedes

[RESEND PATCH v4 0/4] Add ANX7814 I2C bridge driver

2016-05-02 Thread Enric Balletbo i Serra
Hi all, This is the fourth version of the patch, thanks to all that did some comments. In this version I basically added the comments made by Thierry, also it introduces a new patch in the series to add a new helper constant in drm_dp_helper.h. The devicetree binding also suffered a slight modifi

[RESEND PATCH v4 1/4] drm/dp: Add define to set 0.5% down-spread in MAX_DOWNSPREAD register.

2016-05-02 Thread Enric Balletbo i Serra
Support of 0.5% down-spread is required for DisplayPort Specification Version 1.1 Sink. Signed-off-by: Enric Balletbo i Serra --- include/drm/drm_dp_helper.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h index 1252108..22be049 10064

[RESEND PATCH v4 2/4] of: Add vendor prefix for Analogix Semiconductor

2016-05-02 Thread Enric Balletbo i Serra
Analogix Semiconductor Inc. develops analog and mixed-signal devices for digital media and communications interconnect applications. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Changes since v3: None Changes since v2: None Changes since v1: - Add Acked-by: Rob Herring Doc

[RESEND PATCH v4 3/4] devicetree: Add ANX7814 SlimPort transmitter binding.

2016-05-02 Thread Enric Balletbo i Serra
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Changes since v3: - Model v10 as regulator (dvdd10-supply). Received the ack from Rob before the RESEND Changes since v2:

[RESEND PATCH v4 4/4] drm: bridge: anx78xx: Add anx78xx driver support.

2016-05-02 Thread Enric Balletbo i Serra
Although there are other chips from the same family that can reuse this driver, at the moment we only tested ANX7814 chip. The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. This driver adds initial support for HDMI to DP pass-through mode. Sig

[PATCH] of: include errno.h in of_graph.h

2016-05-02 Thread Arnd Bergmann
When CONFIG_OF is disabled, we have to include linux/errno.h before including of_graph.h, or get build errors like in the newly added sun4i drm driver: In file included from ../drivers/gpu/drm/sun4i/sun4i_drv.c:14:0: include/linux/of_graph.h: In function 'of_graph_parse_endpoint': include/linux/of

[PATCH] drm/sun4i: add COMMON_CLK dependency

2016-05-02 Thread Arnd Bergmann
The sun4i drm driver uses the clk-provider interfaces, which are not available when CONFIG_COMMON_CLK is disabled: drivers/gpu/drm/sun4i/sun4i_dotclock.c:19:16: error: field 'hw' has incomplete type struct clk_hw hw; In file included from ../include/asm-generic/bug.h:13:0, from

[PATCH] drm/fsl-dcu: add COMMON_CLK dependency

2016-05-02 Thread Arnd Bergmann
The fsl dcu now uses the clk-provider interfaces, which are not available when CONFIG_COMMON_CLK is disabled: drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c: In function 'fsl_dcu_drm_probe': drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c:362:20: error: implicit declaration of function '__clk_get_name' [-We

[PATCH v3 1/2] drm: bridge: Add sii902x driver

2016-05-02 Thread Maxime Ripard
> + regmap_write(sii902x->regmap, SI902X_INT_ENABLE, > + SI902X_HOTPLUG_EVENT); > + > + ret = devm_request_threaded_irq(dev, client->irq, NULL, > + sii902x_interrupt, > + IRQF_ONESHOT, dev_name(dev), > + sii902x); > + if (ret) > + return ret; > + } > + > + sii902x->bridge.funcs = &sii902x_bridge_funcs; > + sii902x->bridge.of_node = dev->of_node; > + ret = drm_bridge_add(&sii902x->bridge); > + if (ret) { > + dev_err(dev, "Failed to add drm_bridge\n"); > + return ret; > + } > + > + i2c_set_clientdata(client, sii902x); > + > + return 0; > +} > + > +static int sii902x_remove(struct i2c_client *client) > + > +{ > + struct sii902x *sii902x = i2c_get_clientdata(client); > + > + drm_bridge_remove(&sii902x->bridge); > + > + return 0; > +} > + > +#ifdef CONFIG_OF > +static const struct of_device_id sii902x_dt_ids[] = { > + { .compatible = "sil,sii9022", }, > + { } > +}; > +MODULE_DEVICE_TABLE(of, sii902x_dt_ids); > +#endif > + > +static const struct i2c_device_id sii902x_i2c_ids[] = { > + { "sii9022", 0 }, > + { }, > +}; > +MODULE_DEVICE_TABLE(i2c, sii902x_i2c_ids); > + > +static struct i2c_driver sii902x_driver = { > + .probe = sii902x_probe, > + .remove = sii902x_remove, > + .driver = { > + .name = "sii902x", > + .of_match_table = of_match_ptr(sii902x_dt_ids), > + }, > + .id_table = sii902x_i2c_ids, > +}; > +module_i2c_driver(sii902x_driver); > + > +MODULE_AUTHOR("Boris Brezillon "); > +MODULE_DESCRIPTION("SIL902x RGB -> HDMI bridges"); > +MODULE_LICENSE("GPL"); > -- > 2.5.0 > It looks fine otherwise. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160502/1bef3b27/attachment-0001.sig>

[PATCH 2/2] drm/etnaviv: fix mmap operations for userptr and dma-buf objects

2016-05-02 Thread Lucas Stach
Am Mittwoch, den 27.04.2016, 21:27 +0100 schrieb Russell King - ARM Linux: > On Wed, Apr 27, 2016 at 02:39:21PM +0200, Lucas Stach wrote: > > +static int etnaviv_gem_userptr_mmap_obj(struct etnaviv_gem_object > > *etnaviv_obj, > > + struct vm_area_struct *vma) > > +{ > > + return -EPER

[PATCH] of: include errno.h in of_graph.h

2016-05-02 Thread Rob Herring
On Mon, May 02, 2016 at 12:59:19PM +0200, Arnd Bergmann wrote: > When CONFIG_OF is disabled, we have to include linux/errno.h before > including of_graph.h, or get build errors like in the newly added > sun4i drm driver: > > In file included from ../drivers/gpu/drm/sun4i/sun4i_drv.c:14:0: > includ

[RESEND PATCH v4 4/4] drm: bridge: anx78xx: Add anx78xx driver support.

2016-05-02 Thread Thierry Reding
part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160502/14505d84/attachment.sig>

drm/exynos: fimd: vrefresh is zero

2016-05-02 Thread Alex Deucher
On Sat, Apr 30, 2016 at 5:37 PM, Tobias Jakobi wrote: > Hello, > > while playing around with FIMD enabled, I noticed that when first using > the device a zero division was triggered in fimd_calc_clkdiv(). I > remembered that I had a similar issue some time ago. > > I added a stub fimd_atomic_check

[PATCH v4 3/7] drm/fb-helper: Add fb_deferred_io support

2016-05-02 Thread Daniel Vetter
On Fri, Apr 29, 2016 at 04:47:08PM +0200, Noralf Trønnes wrote: > > Den 29.04.2016 14:50, skrev Tomi Valkeinen: > >Hi, > > > >On 28/04/16 18:18, Noralf Trønnes wrote: > >>This adds deferred io support to drm_fb_helper. > >>The fbdev framebuffer changes are flushed using the callback > >>(struct

[PATCH v4 0/7] drm: Add fbdev deferred io support to helpers

2016-05-02 Thread Daniel Vetter
On Fri, Apr 29, 2016 at 04:57:05PM +0200, Daniel Vetter wrote: > On Thu, Apr 28, 2016 at 05:18:30PM +0200, Noralf Trønnes wrote: > > This patchset adds fbdev deferred io support to drm_fb_helper and > > drm_fb_cma_helper. > > > > It channels fbdev mmap and fb_{write,fillrect,copyarea,imageblit} d

drm/exynos: fimd: vrefresh is zero

2016-05-02 Thread Tobias Jakobi
Hello Alex, Alex Deucher wrote: > On Sat, Apr 30, 2016 at 5:37 PM, Tobias Jakobi > wrote: >> Hello, >> >> while playing around with FIMD enabled, I noticed that when first using >> the device a zero division was triggered in fimd_calc_clkdiv(). I >> remembered that I had a similar issue some tim

[Bug 95017] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-35).

2016-05-02 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160502/03937db3/attachment.html>

[Bug 95017] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-35).

2016-05-02 Thread bugzilla-dae...@freedesktop.org
rst on mesa-dev ? -- 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/20160502/603a9bbf/attachment.html>

[PATCH 00/12] drm/atomic: Rename async to nonblocking.

2016-05-02 Thread Daniel Vetter
On Tue, Apr 26, 2016 at 04:34:05PM +0200, Daniel Vetter wrote: > On Tue, Apr 26, 2016 at 04:11:33PM +0200, Maarten Lankhorst wrote: > > Userspace calls the atomic ioctl with DRM_MODE_ATOMIC_NONBLOCK > > when it doesn't want the ioctl to block for completion. > > > > In the kernel it's called async

[PATCH] drm/amdgpu: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

2016-05-02 Thread Alex Deucher
On Sun, May 1, 2016 at 11:26 AM, Christian König wrote: > Am 30.04.2016 um 21:00 schrieb Muhammad Falak R Wani: >> >> The rcu_assign_pointer() ensures that the initialization of a structure >> is carried out before storing a pointer to that structre. It is always >> safe to use RCU_INIT_POINTER()

[Bug 95017] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-35).

2016-05-02 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160502/0387d168/attachment.html>

[Bug 95017] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-35).

2016-05-02 Thread bugzilla-dae...@freedesktop.org
nt was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160502/dac897f3/attachment-0001.html>

[Bug 95017] [drm:radeon_ib_ring_tests] *ERROR* radeon: failed testing IB on GFX ring (-35).

2016-05-02 Thread bugzilla-dae...@freedesktop.org
- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160502/2dbea1e7/attachment.html>

[PATCH 01/14] drm/amdgpu: use drm_crtc_send_vblank_event()

2016-05-02 Thread Daniel Vetter
On Fri, Apr 15, 2016 at 11:55:16AM +0900, Michel Dänzer wrote: > On 15.04.2016 02:48, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Replace the legacy drm_send_vblank_event() with the new helper function. > > > > Signed-off-by: Gustavo Padovan > > --- > > drivers/gpu/drm/amd/amdgpu

[PATCH 05/14] drm/msm: use drm_crtc_send_vblank_event()

2016-05-02 Thread Daniel Vetter
On Thu, Apr 14, 2016 at 04:51:06PM -0400, Rob Clark wrote: > On Thu, Apr 14, 2016 at 1:48 PM, Gustavo Padovan > wrote: > > From: Gustavo Padovan > > > > Replace the legacy drm_send_vblank_event() with the new helper function. > > > > Signed-off-by: Gustavo Padovan > > thanks, shall I take this

[PATCH 11/14] drm/tilcdc: use drm_crtc_send_vblank_event()

2016-05-02 Thread Daniel Vetter
On Tue, Apr 19, 2016 at 11:03:26AM -0300, Gustavo Padovan wrote: > Hi Jyri, > > 2016-04-19 Jyri Sarha : > > > On 04/14/16 20:48, Gustavo Padovan wrote: > > > From: Gustavo Padovan > > > > > > Replace the legacy drm_send_vblank_event() with the new helper function. > > > > > > Signed-off-by: Gu

[PATCH 10/14] drm/shmobile: use drm_crtc_send_vblank_event()

2016-05-02 Thread Daniel Vetter
On Fri, Apr 15, 2016 at 12:59:26AM +0300, Laurent Pinchart wrote: > Hi Gustavo, > > Thank you for the patch. > > On Thursday 14 Apr 2016 10:48:21 Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Replace the legacy drm_send_vblank_event() with the new helper function. > > > > Signed-off

[Intel-gfx] [PATCH] drm/i915: Fix enc_to_dig_port() for MST encoders

2016-05-02 Thread Lyude Paul
I gave a short try at fixing MST audio, but it definitely looks like it's going to require quite a bit of troubleshooting and a few more patches :(. Since I can't find an immediate fix to actually make MST audio work I'm totally in favor of reverting the MST audio support for the time being On Th

[RESEND PATCH v4 4/4] drm: bridge: anx78xx: Add anx78xx driver support.

2016-05-02 Thread Enric Balletbo Serra
Hi Thierry, 2016-05-02 16:22 GMT+02:00 Thierry Reding : > On Mon, May 02, 2016 at 09:54:26AM +0200, Enric Balletbo i Serra wrote: > [...] >> diff --git a/drivers/gpu/drm/bridge/analogix-anx78xx.c >> b/drivers/gpu/drm/bridge/analogix-anx78xx.c > [...] >> +static int anx78xx_init_pdata(struct anx78

[PATCH 06/13] staging/android: rename android_fence to timeline_fence

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan We are moving out of staging/android so rename it to a name that is not related to android anymore. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 36 ++-- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a

[PATCH 09/13] staging/android: bring struct sync_pt back

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan Move the list_head members from sync_pt to struct fence was a mistake, they will not be used by struct fence as planned before, so here we create sync_pt again to bring the list heads back. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 40 +

[PATCH 11/13] staging/android: clean up #includes in the sync framework

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan Most of the includes there are not necessary anymore. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c | 6 -- drivers/staging/android/sync.h | 3 --- drivers/staging/android/sync_debug.c | 16 3 files changed, 25 deleti

[PATCH 13/13] staging/android: make sw_ioctl info internal to sw_sync.c

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan We don't want to export this from the kernel. This is interface is only for testing and debug. So testers shall copy the ioctl info in their own projects. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sw_sync.c | 13 - drivers/staging/android

[PATCH 00/13] staging/android: clean up SW_SYNC

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan Hi, The following patches do a clean up on the sw_sync inteface. It starts by removing struct sync_timeline_ops, which was creating unecessary wrappers in the code and the start to organize the sync_timeline and sw_sync code better. sw_sync interface was moved to sw_sync.c

[PATCH 05/13] staging/android: remove sw_sync.[ch] files

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan We can glue the sw_sync file operations directly on the sync framework without the need to pass through sw_sync wrappers. It only builds sw_sync debugfs file support if CONFIG_SW_SYNC is enabled. Signed-off-by: Gustavo Padovan --- drivers/staging/android/Makefile |

[PATCH 07/13] staging/android: remove unnecessary check for fence

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan When we call sync_print_fence() fence is always valid. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync_debug.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/android/sync_debug.c b/drivers/staging/android/sync_deb

[PATCH 10/13] staging/android: move sw_sync related code to sw_sync.c

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan Split sync_debug and sw_sync in two different files. Signed-off-by: Gustavo Padovan --- drivers/staging/android/Makefile | 1 + drivers/staging/android/sw_sync.c| 136 +++ drivers/staging/android/sync.h | 2 + drivers/stag

[PATCH] drm/amdgpu: use drm_mode_vrefresh() rather than mode->vrefresh

2016-05-02 Thread Alex Deucher
This is a port of radeon commit: 3d2d98ee1af0cf6eebfbd6bff4c17d3601ac1284 drm/radeon: use drm_mode_vrefresh() rather than mode->vrefresh to amdgpu. Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

[PATCH 12/13] staging/android: make sync_timeline internal to sw_sync

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan The only use sync_timeline will have in upstream kernel is for debugging through the SW_SYNC interface. So make it internal to SW_SYNC to avoid people use it in the future. Signed-off-by: Gustavo Padovan --- drivers/staging/android/Kconfig | 16 +-- drivers/staging/and

[PATCH 01/13] staging/android: store last signaled value on sync timeline

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan Now fence timeline is aware of the last signaled fence, as it receives the increment to the current value in sync_timeline_signal(). That allow us to remove .has_signaled() from timeline_ops as we can directly compare using timeline->value and fence->seqno in sync.c Signed

[PATCH 03/13] staging/android: remove struct sync_timeline_ops

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan Move drv_name, the last field of sync_timeline_ops, to sync_timeline and remove sync_timeline_ops. struct sync_timeline_ops was just an extra abstraction on top of fence_ops, and in the last few commits we removed all it ops in favor of cleaner fence_ops. Signed-off-by: Gu

[PATCH 08/13] staging/android: remove size arg of sync_timeline_create()

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan After we removed sw_sync_timeline this arg has not been really used by anyone, all its users pass the size of struct sync_timeline there. So simplify this function but not requiring the size anymore. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync.c

[Bug 95241] Please edit the radeon manpages DRI section

2016-05-02 Thread bugzilla-dae...@freedesktop.org
assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160502/55addd8f/attachment.html>

[CI-resend] drm: Restore double clflush on the last partial cacheline

2016-05-02 Thread Chris Wilson
This effectively reverts commit afcd950cafea6e27b739fe7772cbbeed37d05b8b Author: Chris Wilson Date: Wed Jun 10 15:58:01 2015 +0100 drm: Avoid the double clflush on the last cache line in drm_clflush_virt_range() as we have observed issues with serialisation of the clflush operations on B

[PATCH 02/23] drm: omapdrm: fb: Don't store format BPP for each plane

2016-05-02 Thread Tomi Valkeinen
next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160502/7014849f/attachment.sig>

[RFC v2 3/8] drm: Add helper for simple kms drivers

2016-05-02 Thread Noralf Trønnes
Den 13.04.2016 13:05, skrev Daniel Vetter: > On Fri, Apr 08, 2016 at 07:05:05PM +0200, Noralf Trønnes wrote: >> Provides helper functions for drivers that have a simple display >> pipeline. Plane, crtc and encoder are collapsed into one entity. >> >> Signed-off-by: Noralf Trønnes [...] >> +st

[PATCH 02/13] staging/android: remove .{fence, timeline}_value_str() from timeline_ops

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan Now that the value of fence and the timeline are not stored by sw_sync anymore we can remove this extra abstraction to retrieve this data. This patch changes both fence_ops (.fence_value_str and .timeline_value_str) to return the str directly. It also clean up struct sync_

[PATCH 04/13] staging/android: remove sw_sync_timeline and sw_sync_pt

2016-05-02 Thread Gustavo Padovan
From: Gustavo Padovan As we moved value storage to sync_timeline and fence those two structs became useless and can be removed now. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sw_sync.c| 24 +++- drivers/staging/android/sw_sync.h| 24 ++---

[Bug 95241] Please edit the radeon manpages DRI section

2016-05-02 Thread bugzilla-dae...@freedesktop.org
for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160502/b52051e6/attachment.html>

[Bug 71789] [r300g] Visuals not found in (default) depth = 24

2016-05-02 Thread bugzilla-dae...@freedesktop.org
signal 11 at 095b44c0 nip 095b44c0 lr 0de343b4 code 30001 -- 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/20160502/6d3bb7d0/attachment.html>

[PATCH 11/14] drm/tilcdc: use drm_crtc_send_vblank_event()

2016-05-02 Thread Jyri Sarha
On 05/02/16 18:05, Daniel Vetter wrote: > On Tue, Apr 19, 2016 at 11:03:26AM -0300, Gustavo Padovan wrote: >> Hi Jyri, >> >> 2016-04-19 Jyri Sarha : >> >>> On 04/14/16 20:48, Gustavo Padovan wrote: From: Gustavo Padovan Replace the legacy drm_send_vblank_event() with the new helper

[PATCH v2 0/4] drm: DP++ adaptor support (v2)

2016-05-02 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Here's a respin of my DP++ adaptor support series [1]. Pardon for taking forever with this. Presumably we want to get this into stable to fix the regression from HDMI 12bpc support. I've tried to account for a bunch of Paulo's review comments I also tried to make the helpe

[PATCH v2 1/4] drm: Add helper for DP++ adaptors

2016-05-02 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Add a helper which aids in the identification of DP dual mode (aka. DP++) adaptors. There are several types of adaptors specified: type 1 DVI, type 1 HDMI, type 2 DVI, type 2 HDMI Type 1 adaptors have a max TMDS clock limit of 165MHz, type 2 adaptors may go as high as 300MH

[PATCH v2 2/4] drm/i915: Respect DP++ adaptor TMDS clock limit

2016-05-02 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Try to detect the max TMDS clock limit for the DP++ adaptor (if any) and take it into account when checking the port clock. Note that as with the sink (HDMI vs. DVI) TMDS clock limit we'll ignore the adaptor TMDS clock limit in the modeset path, in case users are already "o

[PATCH v3 3/4] drm/i915: Enable/disable TMDS output buffers in DP++ adaptor as needed

2016-05-02 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä To save a bit of power, let's try to turn off the TMDS output buffers in DP++ adaptors when we're not driving the port. v2: Let's not forget DDI, toss in a debug message while at it v3: Just do the TMDS output control based on adaptor type. With the helper getting passe

[PATCH v2 4/4] drm/i915: Determine DP++ type 1 DVI adaptor presence based on VBT

2016-05-02 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä DP dual mode type 1 DVI adaptors aren't required to implement any registers, so it's a bit hard to detect them. The best way would be to check the state of the CONFIG1 pin, but we have no way to do that. So as a last resort, check the VBT to see if the HDMI port is in fact a

[PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.

2016-05-02 Thread robert.f...@collabora.com
From: Robert Foss As per the docs, atomic_commit should return -EBUSY "if an asycnhronous update is requested and there is an earlier update pending". This patch is based on the rockchip patch below: http://article.gmane.org/gmane.comp.video.dri.devel/151678 Note: This patch was resent as

[PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.

2016-05-02 Thread robert.f...@collabora.com
From: Robert Foss As per the docs, atomic_commit should return -EBUSY "if an asycnhronous update is requested and there is an earlier update pending". Signed-off-by: Robert Foss --- drivers/gpu/drm/vc4/vc4_crtc.c | 6 ++ drivers/gpu/drm/vc4/vc4_drv.h | 1 + drivers/gpu/drm/vc4/vc4_kms.c

Misc amdgpu patches

2016-05-02 Thread Alex Deucher
This is just a bunch of patches that I've been carrying in my -wip tree for a while. Some are minor updates to previous versions I've sent out. - Fixes to non-DAL modesetting code for Polaris - Clockgating fixes and enablement - Misc powerplay bug fixes - Misc bug fixes and cleanups I meant to sen

[PATCH] drm/amd/amdgpu: Add SW clock gating support to UVD 5 and 6

2016-05-02 Thread Alex Deucher
From: Tom St Denis This patch adds support for software clock gating to UVD 5 and UVD 6 blocks with a preliminary commented out hardware gating routine. Currently hardware gating does not work so it's not activated. Signed-off-by: Tom St Denis Reviewed-by: Alex Deucher Signed-off-by: Alex Deu

[PATCH] drm/amd/amdgpu: Enable clockgating for UVD5 on Tonga

2016-05-02 Thread Alex Deucher
From: Tom St Denis This patch enables clock gating for the UVD5 block with Tonga. Signed-off-by: Tom St Denis Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdg

[PATCH] drm/amdgpu/dce11: fix vertical bars appear on monitor

2016-05-02 Thread Alex Deucher
From: Vitaly Prosyak Fixed mc stop and resume hardware programming sequence. Signed-off-by: Vitaly Prosyak Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 65 +++--- 1 file changed, 5 insertions(+), 60 deletions(-) diff --git a/drivers/gpu

[PATCH] drm/amd/powerplay: use min_clock_in_sr for deep sleep feature.

2016-05-02 Thread Alex Deucher
From: Rex Zhu This comes from the display handling code. Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c | 50 ++-- 1 file changed, 30 insertions(+), 20 deletions(-) diff --git a/drivers/gp

[PATCH] drm/amdgpu: Set PFLIP_SUBMITTED for crtc after address update

2016-05-02 Thread Alex Deucher
From: Andrey Grodzovsky Also add some pflip debug prints. This change allows us to wait on pflip status until the new surface address is actually submitted to the register. This reverts ed3020e923240829dcdfd3343f6e91dc02c63775 drm/amdgpu: Move MMIO flip out of spinlocked region The original cha

[PATCH] drm/amdgpu: add new CG flag for ROM clockgating

2016-05-02 Thread Alex Deucher
Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/include/amd_shared.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h index 04e4090..f8afe53 100644 --- a/drivers/gpu/drm/amd/include

[PATCH] drm/amdgpu/gfx: add proper CG flags for fiji

2016-05-02 Thread Alex Deucher
We were already enabling these CG features, this uses the standard interface for doing so. Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 82 --- drivers/gpu/drm/amd/amdgpu/vi.c | 9 +++- 2 files changed, 56

[PATCH] drm/amdgpu/sdma: add proper CG flags for fiji

2016-05-02 Thread Alex Deucher
We were already enabling these CG features, this uses the standard interface for doing so. Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/vi.c| 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) d

[PATCH] drm/amdgpu/common: add proper CG flags for fiji

2016-05-02 Thread Alex Deucher
We were already enabling these CG features, this uses the standard interface for doing so. Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vi.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgp

[PATCH] drm/amdgpu/gmc: add proper CG flags for fiji

2016-05-02 Thread Alex Deucher
We were already enabling these CG features, this uses the standard interface for doing so. Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 8 drivers/gpu/drm/amd/amdgpu/vi.c | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-)

[PATCH] drm/amd/amdgpu: Enable clockgating in UVD6 for Stoney

2016-05-02 Thread Alex Deucher
From: Tom St Denis This patch enables clockgating for the UVD6 block in Stoney. Signed-off-by: Tom St Denis Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vi.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/a

[PATCH] drm/amdgpu/gfx8: rename send_serdes_cmd

2016-05-02 Thread Alex Deucher
So it can be shared with CZ/ST. Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 4a

[PATCH] drm/amdgpu: add a new set of rlc function pointers

2016-05-02 Thread Alex Deucher
Different asics tend to have different ways to interact with the RLC. This just covers enter/exit of safe mode for updating CG and PG state, but could be extended to cover other RLC operations in the future if necessary. Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/am

[PATCH] drm/amdgpu/gfx: rework fiji cg functions so they can be shared

2016-05-02 Thread Alex Deucher
They can be shared with other asics with minor modifications. Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 218 +++--- 1 file changed, 202 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8

[PATCH] drm/amdgpu: enable gfx clockgating for CZ

2016-05-02 Thread Alex Deucher
Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vi.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 16b2a29..c9c88a5 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi

[PATCH] drm/amdgpu: enable gfx clockgating for ST (v2)

2016-05-02 Thread Alex Deucher
v2: just enable MGCG for now since CGCG causes hangs Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index c9c88a5..2a7

[PATCH] drm/amdgpu/vi: rename fiji cg functions

2016-05-02 Thread Alex Deucher
They can be used for other VI parts. Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vi.c | 33 + 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c i

[PATCH] drm/amdgpu: enable gmc clockgating for CZ

2016-05-02 Thread Alex Deucher
Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vi.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 7d03ea1..0e9d3821 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c ++

[PATCH] drm/amdgpu: enable gmc clockgating for ST

2016-05-02 Thread Alex Deucher
Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vi.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 0e9d3821..a330d70 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c ++

[PATCH] drm/amdgpu: enable sdma clockgating on CZ

2016-05-02 Thread Alex Deucher
Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index a330d70..83f890a 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++

[PATCH] drm/amdgpu: add ELM/BAF support to dce_v11_0_pick_pll (v2)

2016-05-02 Thread Alex Deucher
New PLL scheme on ELM/BAF. v2: squash in pll fix. Plls are part of the phys. Reviewed-by: Christian König Signed-off-by: Alex Deucher Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/dr

[PATCH] drm/amd/powerplay: parameter updates according to SMC.

2016-05-02 Thread Alex Deucher
From: Rex Zhu Update to latest changes for SMC team. Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- .../drm/amd/powerplay/hwmgr/polaris10_powertune.c | 32 -- drivers/gpu/drm/amd/powerplay/inc/smu74_discrete.h | 10 +++ 2 files chang

[PATCH] drm/amdgpu/gfx: adjust gfx_v8_0_send_serdes_cmd for ST

2016-05-02 Thread Alex Deucher
Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 7e94a85..b15162d 100644 -

[PATCH] drm/amdgpu: enable sdma clockgating on ST

2016-05-02 Thread Alex Deucher
Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/vi.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c index 83f890a..ddbb63a 100644 --- a/drivers/gpu/drm/amd/amdgpu/vi.c +++

[PATCH] drm/amd/powerplay: fix issue that get wrong reference clock value.

2016-05-02 Thread Alex Deucher
From: Rex Zhu use wrong parameter to compute the reference clock. Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/powerpl

[PATCH] drm/amd/powerplay: update vce power gate state for baffin.

2016-05-02 Thread Alex Deucher
From: Rex Zhu Forgot to save the current gate state so we don't know what the current state is if we try and gate/ungate the block. Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/polaris10_clockpowergating.c | 2 ++ 1 file

[PATCH] drm/amdgpu: fix memory leak in CGS (FW info)

2016-05-02 Thread Alex Deucher
From: Mykola Lysenko Previously requested FW pointer should not be overwritten on a subsequent call. Reviewed-by: Alex Deucher Signed-off-by: Mykola Lysenko --- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 70 + 1 file changed, 36 insertions(+), 34 deletions(-) d

[PATCH] drm/amdgpu/sdma: rename fiji cg functions

2016-05-02 Thread Alex Deucher
They care common for all sdma 3.0 parts Acked-by: Tom St Denis Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 104 + 1 file changed, 39 insertions(+), 65 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c b/drivers/gpu/dr

[PATCH] drm/amdgpu: add ELM/BAF DCE11 configs (v2)

2016-05-02 Thread Alex Deucher
Add support for the display configuration on elm/baf. v2: add missing Stoney case Reviewed-by: Christian König Signed-off-by: Alex Deucher Reviewed-by: Jammy Zhou --- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff

[PATCH] drm/amd/powerplay: fix bug dpm can't work when resume back on Polaris

2016-05-02 Thread Alex Deucher
From: Eric Huang Need to initialize the values to 0 since they get or'ed with additional values. If the initialization is missing, on resume, they may end up with a combination of stale data and new data. Fixes dpm on resume. Signed-off-by: Rex Zhu Reviewed-by: Alex Deucher Signed-off-by: Al

  1   2   >