[Bug 119631] RadeonSI get a huge performance dip with used with the nine state tracker

2016-06-15 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=119631 --- Comment #11 from Mathieu Belanger --- I will test the patch this night. Isn't thread_submit just to fix rendering on DRI PRIME or something like that? -- You are receiving this mail because: You are watching the assignee of the bug.

[PATCH v3 05/10] drm/rockchip: analogix_dp: add rk3399 eDP support

2016-06-15 Thread Yakir Yang
Doug, On 06/14/2016 11:24 PM, Doug Anderson wrote: > Yakir, > > On Tue, Jun 14, 2016 at 4:46 AM, Yakir Yang wrote: >> RK3399 and RK3288 shared the same eDP IP controller, only some light >> difference with VOP configure and GRF configure. >> >> Signed-off-by: Yakir Yang >> Acked-by: Mark Yao >>

[PATCH v3 07/10] drm/bridge: analogix_dp: passing the connector as an argument in .get_modes()

2016-06-15 Thread Yakir Yang
On 06/15/2016 12:28 AM, Daniel Vetter wrote: > On Tue, Jun 14, 2016 at 06:26:56PM +0200, Daniel Vetter wrote: >> On Tue, Jun 14, 2016 at 07:46:29PM +0800, Yakir Yang wrote: >>> It's better to pass the connector to platform driver in .get_modes() >>> callback, just like what the .get_modes() helper

[PATCH v6v3 02/12] mm: migrate: support non-lru movable page migration

2016-06-15 Thread Minchan Kim
Hi, On Mon, Jun 13, 2016 at 03:08:19PM +0530, Anshuman Khandual wrote: > On 05/31/2016 05:31 AM, Minchan Kim wrote: > > @@ -791,6 +921,7 @@ static int __unmap_and_move(struct page *page, struct > > page *newpage, > > int rc = -EAGAIN; > > int page_was_mapped = 0; > > struct anon_vma *

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

2016-06-15 Thread Dave Airlie
Excuse me for top posting. So I finally got back to this patch, still don't like it. Apart from the doing 3 things in once which is just annoying, current userspace for tiled monitors relies on the behaviour that the cached edids are retrieved before the connector is show to userspace. This is s

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

2016-06-15 Thread Dave Airlie
On 15 June 2016 at 13:49, Dave Airlie wrote: > Excuse me for top posting. > > So I finally got back to this patch, still don't like it. > > Apart from the doing 3 things in once which is just annoying, current > userspace for tiled monitors > relies on the behaviour that the cached edids are retri

[Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality

2016-06-15 Thread bugzilla-dae...@freedesktop.org
esktop.org/archives/dri-devel/attachments/20160615/d02de036/attachment.html>

[drm:drm-connector-lifetimes 13/13] DockBook: include/drm/drm_crtc.h:1249: warning: No description found for parameter 'registered'

2016-06-15 Thread kbuild test robot
a04 Dave Airlie 2008-11-07 1251 /** 144ecb97 Daniel Vetter 2014-10-27 1252 * struct drm_plane_state - mutable plane state 07cc0ef6 Daniel Vetter 2014-11-27 1253 * @plane: backpointer to the plane 144ecb97 Daniel Vetter 2014-10-27 1254 * @crtc: currently bound CRTC, NULL if disabled cc4ceb48 Daniel Vetter 2014-07-25 1255 * @fb: currently bound framebuffer e2330f07 Daniel Vetter 2014-10-29 1256 * @fence: optional fence to wait for before scanning out @fb 144ecb97 Daniel Vetter 2014-10-27 1257 * @crtc_x: left position of visible portion of plane on crtc :: The code at line 1249 was first introduced by commit :: f453ba0460742ad027ae0c4c7d61e62817b3e7ef DRM: add mode setting support :: TO: Dave Airlie :: CC: Dave Airlie --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation -- next part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/octet-stream Size: 6370 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160615/928c5942/attachment-0001.obj>

[PATCH] drm/radeon: fix asic initialization for virtualized environments

2016-06-15 Thread Alex Deucher
On Mon, Jun 13, 2016 at 4:10 PM, Alex Williamson wrote: > On Mon, 13 Jun 2016 15:45:20 -0400 > Alex Deucher wrote: > >> When executing in a PCI passthrough based virtuzliation environment, the >> hypervisor will usually attempt to send a PCIe bus reset signal to the >> ASIC when the VM reboots. I

[Bug 119631] RadeonSI get a huge performance dip with used with the nine state tracker

2016-06-15 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=119631 --- Comment #12 from Axel Davy --- thread_submit delays submission of buffers to the X server until the moment the buffer has all rendering finished. This is useful for DRI PRIME, because the kernel doesn't have yet all the pieces to have the ot

[Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality

2016-06-15 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160615/7711845a/attachment.html>

[Bug 96360] [bisected: 3d02b7] VM fault with kernel 4.7-rc1 on Alien: Isolation

2016-06-15 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20160615/16e31ebf/attachment.html>

[PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2016-06-15 Thread Michel Dänzer
On 14.06.2016 18:35, Daniel Vetter wrote: > On Tue, Jun 14, 2016 at 11:09 AM, Michel Dänzer > wrote: >> On 14.06.2016 18:03, Daniel Vetter wrote: >>> Somehow this escaped us, this is a KMS ioctl which should only be used >>> by the master (which is the thing that's also in control of kms >>> res

[PATCH 4/5] drm/amdgpu: Wait for end of last waited-for vblank before programming flip

2016-06-15 Thread Michel Dänzer
On 14.06.2016 17:06, Daniel Vetter wrote: > On Tue, Jun 14, 2016 at 04:25:28PM +0900, Michel Dänzer wrote: >> On 14.06.2016 14:53, Daniel Vetter wrote: >>> On Tue, Jun 14, 2016 at 11:09:10AM +0900, Michel Dänzer wrote: On 06/13/16 23:06, Daniel Vetter wrote: > On Mon, Jun 13, 2016 at 05:

[PATCH v2 1/2] drm/fsl-dcu: Add HDMI driver for freescale DCU

2016-06-15 Thread Meng Yi
Hi Alexander, Thanks for your comments! On Tuesday, June 14, 2016 5:54 PM, Alexander wrote: > > +static struct > > +device_node *detect_hdmi_connection(struct fsl_dcu_drm_device > > +*fsl_dev) { > > + struct device_node *remote_port; > > + struct of_endpoint *ep; > > + struct device_node *

[PATCH v2 1/2] drm/crtc: fix connector reference counting mismatch in drm_crtc_helper_set_config

2016-06-15 Thread Philipp Zabel
Am Dienstag, den 14.06.2016, 18:08 +0200 schrieb Daniel Vetter: > On Thu, Jun 02, 2016 at 07:27:51PM +0200, Philipp Zabel wrote: > > Since commit 0955c1250e96 ("drm/crtc: take references to connectors used > > in a modeset. (v2)"), the reference counts of all connectors in the > > drm_mode_set give

[PATCH] drm/vmwgfx: use *_32_bits() macros

2016-06-15 Thread Paul Bolle
[Added Sinclair, Thomas, and "VMware Graphics".] On do, 2016-04-14 at 07:34 -0700, Joe Perches wrote: > On Thu, 2016-04-14 at 13:32 +0200, Paul Bolle wrote: > > On do, 2016-03-03 at 11:26 +0100, Paul Bolle wrote: > > > > > > Use the upper_32_bits() macro instead of the four line equivalent that >

[PATCH v2 0/6] drm/tilcdc Fixes and cleanups

2016-06-15 Thread Jyri Sarha
Some fixes and cleanups that should get merged to tilcdc even if my atomic changes are still a work in progress. Jyri Sarha (6): drm/tilcdc: Restore old dpms state in pm_resume() drm/tilcdc: Write to LCDC_END_OF_INT_IND_REG at the end of IRQ function drm/tilcdc: Move waiting of LCDC_FRAM

[PATCH v2 1/6] drm/tilcdc: Restore old dpms state in pm_resume()

2016-06-15 Thread Jyri Sarha
Restore old dpms state in pm_resume(). The dpms is turned off in pm_suspend() and it should be restored to its original state in pm_resume(). Fixes commit 614b3cfeb8d2 ("drm/tilcdc: disable the lcd controller/dma engine when suspend invoked") Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc

[PATCH v2 2/6] drm/tilcdc: Write to LCDC_END_OF_INT_IND_REG at the end of IRQ function

2016-06-15 Thread Jyri Sarha
Reorder the IRQ function so that the write to LCDC_END_OF_INT_IND_REG is done last. The write to LCDC_END_OF_INT_IND_REG indicates to LCDC that the interrupt service routine has completed (see section 13.3.6.1.6 in AM335x TRM). This is needed if LCDC's ipgvmodirq module is configured for pulse inte

[PATCH v2 3/6] drm/tilcdc: Move waiting of LCDC_FRAME_DONE IRQ into stop()

2016-06-15 Thread Jyri Sarha
Move wait queue waiting of LCDC_FRAME_DONE IRQ from tilcdc_crtc_dpms() into stop() function. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc

[PATCH v2 4/6] drm/tilcdc: Call drm_crtc_vblank_on() and *_off() in start() and stop()

2016-06-15 Thread Jyri Sarha
Add drm_crtc_vblank_on() and *_off() calls to start() and stop() functions, to make sure any vblank waits etc. gets properly cleaned up. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_crtc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c

[PATCH v2 5/6] drm/tilcdc: Refer to panel.txt and tfp410.txt bindings in tilcdc.txt

2016-06-15 Thread Jyri Sarha
The legacy panel.txt and tfp410.txt bindings are still the only supported way to connect lcd panel and tfp410 DVI encoder to tilcdc. Signed-off-by: Jyri Sarha --- Documentation/devicetree/bindings/display/tilcdc/tilcdc.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/dev

[PATCH v2 6/6] drm/tilcdc: Avoid error print by of_graph_get_next_endpoint()

2016-06-15 Thread Jyri Sarha
Avoid error print by of_graph_get_next_endpoint() if there is no ports present. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/tilcdc/tilcdc_external.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_external.c b/drivers/gpu/drm/ti

DRM DMA Engine

2016-06-15 Thread Daniel Vetter
On Tue, Jun 14, 2016 at 1:19 PM, Jose Abreu wrote: >> I assume that xilinx VDMA is the only way to feed pixel data into your >> display pipeline. Under that assumption: >> >> drm_plane should map to Xilinx VDMA, and the drm_plane->drm_crtc link >> would represent the dma channel. With atomic you c

[PATCH 1/3] RFC: drm: Restrict vblank ioctl to master

2016-06-15 Thread Daniel Vetter
On Wed, Jun 15, 2016 at 9:29 AM, Michel Dänzer wrote: > On 14.06.2016 18:35, Daniel Vetter wrote: >> On Tue, Jun 14, 2016 at 11:09 AM, Michel Dänzer >> wrote: >>> On 14.06.2016 18:03, Daniel Vetter wrote: Somehow this escaped us, this is a KMS ioctl which should only be used by the m

[PATCH 4/5] drm/amdgpu: Wait for end of last waited-for vblank before programming flip

2016-06-15 Thread Daniel Vetter
On Wed, Jun 15, 2016 at 05:03:41PM +0900, Michel Dänzer wrote: > On 14.06.2016 17:06, Daniel Vetter wrote: > > On Tue, Jun 14, 2016 at 04:25:28PM +0900, Michel Dänzer wrote: > >> On 14.06.2016 14:53, Daniel Vetter wrote: > >>> On Tue, Jun 14, 2016 at 11:09:10AM +0900, Michel Dänzer wrote: >

[PATCH v3 05/10] drm/rockchip: analogix_dp: add rk3399 eDP support

2016-06-15 Thread Tomasz Figa
Hi Yakir, Yakir Yang rock-chips.com> writes: > >> Required properties: > >> -- compatible: "rockchip,rk3288-edp"; > >> +- compatible: "rockchip,rk3288-edp", > >> + "rockchip,rk3399-edp"; > > As commented by Tomasz on gerrit, there is a pre-existing typo here. > > Specifically "rockc

[PATCH v3 0/10]

2016-06-15 Thread Tomasz Figa
Hi Yakir, Yakir Yang rock-chips.com> writes: > > RK3399 and RK3288 shared the same eDP IP controller, only some light > difference with VOP configure and GRF configure. > > Also same misc fix to analogix_dp driver: > - Hotplug invalid which report by Dan Carpenter > - Make panel detect to an op

[Bug 96444] GRID Autosport crash on loading race

2016-06-15 Thread bugzilla-dae...@freedesktop.org
esktop.org/archives/dri-devel/attachments/20160615/2caf6141/attachment.html>

[GIT PULL] etnaviv fixes for 4.7-rc4

2016-06-15 Thread Lucas Stach
Hi Dave, just a single fix for a regression introduced by IOMMU API changes in v4.7. Regards, Lucas The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git://git.pengutronix.de/git/l

[PATCH] drm/atomic-helpers: Clear up cleanup_done a bit

2016-06-15 Thread Daniel Vetter
It's not obvious at first sight that this is a fastpath, make that clearer with a goto. Fallout from a discussion with Liviu on irc. Cc: Liviu.Dudau at arm.com Acked-by: Liviu.Dudau at arm.com Signed-off-by: Daniel Vetter --- .../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 4 ++-- drivers/

DRM DMA Engine

2016-06-15 Thread Daniel Vetter
On Wed, Jun 15, 2016 at 11:48 AM, Jose Abreu wrote: > > On 15-06-2016 09:52, Daniel Vetter wrote: >> On Tue, Jun 14, 2016 at 1:19 PM, Jose Abreu >> wrote: I assume that xilinx VDMA is the only way to feed pixel data into your display pipeline. Under that assumption: drm_plane

[PATCH] drm/atomic-helpers: Clear up cleanup_done a bit

2016-06-15 Thread liviu.du...@arm.com
On Wed, Jun 15, 2016 at 12:08:29PM +0200, Daniel Vetter wrote: > It's not obvious at first sight that this is a fastpath, make that > clearer with a goto. Fallout from a discussion with Liviu on irc. > > Cc: Liviu.Dudau at arm.com > Acked-by: Liviu.Dudau at arm.com Nope, I did not agree to *all*

[PATCH] drm/atomic-helpers: Clear up cleanup_done a bit

2016-06-15 Thread Daniel Vetter
It's not obvious at first sight that this is a fastpath, make that clearer with a goto. Fallout from a discussion with Liviu on irc. v2: Drop bogus hunks that crept in. Cc: Liviu.Dudau at arm.com Acked-by: Liviu.Dudau at arm.com Signed-off-by: Daniel Vetter --- drivers/gpu/drm/drm_atomic_helper

[PATCH] drm/vmwgfx: use *_32_bits() macros

2016-06-15 Thread Daniel Vetter
On Wed, Jun 15, 2016 at 10:37:24AM +0200, Paul Bolle wrote: > [Added Sinclair, Thomas, and "VMware Graphics".] > > On do, 2016-04-14 at 07:34 -0700, Joe Perches wrote: > > On Thu, 2016-04-14 at 13:32 +0200, Paul Bolle wrote: > > > On do, 2016-03-03 at 11:26 +0100, Paul Bolle wrote: > > > > > > >

[Intel-gfx] [PATCH 01/14] drm: Nuke legacy maps debugfs files

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:50:56PM +0200, Daniel Vetter wrote: > GEM stopped using those a while ago, and no one should ever > need to use them again to debug legacy horror show drivers. > > Nuke it all. Aside: It would kinda be nice if we'd have some > generic debugfs dumps for at least kms ... >

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

2016-06-15 Thread Archit Taneja
On 06/14/2016 01:12 PM, Boris Brezillon wrote: > Add basic support for the sii902x RGB -> HDMI bridge. > This driver does not support audio output yet. > Thanks for incorporating the comments. Acked-by: Archit Taneja > Signed-off-by: Boris Brezillon > Tested-by: Nicolas Ferre > --- > Change

[Intel-gfx] [PATCH 02/14] drm: Hide hw.lock cleanup in filp->release better

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:50:57PM +0200, Daniel Vetter wrote: > A few things: > - Rename the cleanup function from drm_master_release to > drm_legacy_lock_release. It doesn't relase any master stuff, but > just the legacy hw lock. > - Hide it in drm_lock.c, which allows us to make a few more f

[Intel-gfx] [PATCH 03/14] drm: Link directly from drm_master to drm_device

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:50:58PM +0200, Daniel Vetter wrote: > Master-based auth only exists for the legacy/primary drm_minor, hence > there can only be one per device. The goal here is to untangle the > epic dereference games of minor->master and master->minor which is > just massively confusing

[Intel-gfx] [PATCH 04/14] drm: Move master functions into drm_auth.c

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:50:59PM +0200, Daniel Vetter wrote: > For modern drivers pretty much the only thing drm_master does is > handling authentication for the primary/legacy drm_minor node. Instead > of having it all over drm files, move it all together into drm_auth.c. > > This patch just do

[PATCH v2 00/15] Runtime pm ref leak bonanza

2016-06-15 Thread Lukas Wunner
On Tue, Jun 14, 2016 at 04:18:00PM -0400, Alex Deucher wrote: > On Thu, Jun 9, 2016 at 2:50 AM, Daniel Vetter wrote: > > On Wed, Jun 08, 2016 at 06:47:27PM +0200, Lukas Wunner wrote: > >> Second iteration of my endeavour to rid nouveau, radeon and amdgpu of > >> runtime pm ref leaks. > >> > >> Pat

[Intel-gfx] [PATCH 05/14] drm: Extract drm_master_open

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:51:00PM +0200, Daniel Vetter wrote: > And pull out the primary_client check to make it really obvious that > this can't happen on control/render nodes. Bonus that we can avoid the > master lock in this case. ...as the minor->type is statically assigned on creation and so

[Intel-gfx] [PATCH 06/14] drm: Extract drm_master_relase

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:51:01PM +0200, Daniel Vetter wrote: > Like with drm_master_open protect it with a check for primary_client > to make it clear that this can't happen on render/control nodes. > > Signed-off-by: Daniel Vetter Reviewed-by: Chris Wilson -Chris -- Chris Wilson, Intel Open

[PATCH 3/6] drm/ttm: simplify ttm_bo_wait

2016-06-15 Thread Christian König
From: Christian König As far as I can see no need for a custom implementation any more. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 37 - 1 file changed, 4 insertions(+), 33 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/dr

[PATCH 6/6] drm/amdgpu: pipeline evictions as well

2016-06-15 Thread Christian König
From: Christian König This boosts Xonotic from 38fps to 47fps when artificially limiting VRAM to 256MB for testing. It should improve all CPU bound rendering situations where we have a lot of swapping to/from VRAM. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c |

[PATCH 1/6] drm/ttm: remove no_gpu_wait param from ttm_bo_move_accel_cleanup

2016-06-15 Thread Christian König
From: Christian König It isn't used and not waiting for the GPU after scheduling a move is actually quite dangerous. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 3 +-- drivers/gpu/drm/nouveau/nouveau_bo.c| 1 - drivers/gpu/drm/radeon/radeon_ttm.c | 3

[PATCH 2/6] drm/ttm: remove TTM_BO_PRIV_FLAG_MOVING

2016-06-15 Thread Christian König
From: Christian König Instead of using the flag just remember the fence of the last move operation. This avoids waiting for command submissions pipelined after the move, but before accessing the BO with the CPU again. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 4

[PATCH 4/6] drm/ttm: add the infrastructur for pipelined evictions

2016-06-15 Thread Christian König
From: Christian König Free up the memory immediately, remember the last eviction for each domain and make new allocations depend on the last eviction to be completed. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo.c | 49 ++--- drivers/gpu/drm/ttm/ttm_bo_u

[PATCH 5/6] drm/amdgpu: save the PD addr before scheduling the job

2016-06-15 Thread Christian König
From: Christian König When we pipeline evictions the page directory could already be moving somewhere else when grab_id is called. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 6 ++ 2 files changed, 4 insertion

[Bug 91141] Lots of *ERROR* Couldn't update BO_VA (-22) since drm/radeon: stop using addr to check for BO move

2016-06-15 Thread bugzilla-dae...@freedesktop.org
org/archives/dri-devel/attachments/20160615/edd12514/attachment.html>

[Intel-gfx] [PATCH 07/14] drm: Only do the hw.lock cleanup in master_relase for !MODESET

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:51:02PM +0200, Daniel Vetter wrote: > Another place gone where modern drivers could have hit > dev->struct_mutex. > > To avoid too deeply nesting control flow rework it a bit. > > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/drm_auth.c | 20 ---

[Bug 91141] Lots of *ERROR* Couldn't update BO_VA (-22) since drm/radeon: stop using addr to check for BO move

2016-06-15 Thread bugzilla-dae...@freedesktop.org
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/20160615/07ad7281/attachment.html>

[Intel-gfx] [PATCH 08/14] drm: Move authmagic cleanup into drm_master_release

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:51:03PM +0200, Daniel Vetter wrote: > It's related, and soon authmagic will also use the master_mutex. > > There is an ever-so-slightly semantic change here: > - authmagic will only be cleaned up for primary_client drm_minors. But > it's impossible to create authmagic

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

2016-06-15 Thread Emil Velikov
Hi Boris, On 14 June 2016 at 08:42, Boris Brezillon wrote: > Add basic support for the sii902x RGB -> HDMI bridge. > This driver does not support audio output yet. > > Signed-off-by: Boris Brezillon > Tested-by: Nicolas Ferre Thanks for sticking with my questions/nitpicking. FWIW the patch is

[Intel-gfx] [PATCH 09/14] drm: Protect authmagic with master_mutex

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:51:04PM +0200, Daniel Vetter wrote: > Simplifies cleanup, and there's no reason drivers should ever care > about authmagic at all - it's all handled in the core. > > And with that, Ladies and Gentlemen, it's time to pop the champagen > and celebrate: dev->struct_mutex is

[Bug 40476] No HDMI audio though ATi Radeon HD5730/1GB-VRAM card.

2016-06-15 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160615/fa9903f0/attachment-0001.html>

[Bug 40476] No HDMI audio though ATi Radeon HD5730/1GB-VRAM card.

2016-06-15 Thread bugzilla-dae...@freedesktop.org
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/20160615/28842c13/attachment.html>

[Intel-gfx] [PATCH 10/14] drm: Mark authmagic ioctls as unlocked

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:51:05PM +0200, Daniel Vetter wrote: > All protected by dev->master_mutex. And there's no driver callbacks, > which means no need to sync with old dri1 horror show drivers at all. > Hence safe to drop the drm legacy BKL from these paths. > > Signed-off-by: Daniel Vetter

[Bug 82279] [bisected] double free or corruption on context destruction with postprocessing enabled

2016-06-15 Thread bugzilla-dae...@freedesktop.org
: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160615/606d9b1b/attachment.html>

[Intel-gfx] [PATCH 11/14] drm: Mark set/drop master ioctl as unlocked.

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:51:06PM +0200, Daniel Vetter wrote: > Again this is neatly protected by the dev->master_mutex now. There is > a driver callback both for set and drop, but it's only used by vmwgfx. > And vmwgfx has it's own solid locking for shared resources (besides > dev->master_mutex),

[PATCH] drm/vmwgfx: use *_32_bits() macros

2016-06-15 Thread Thomas Hellstrom
On 06/15/2016 01:11 PM, Daniel Vetter wrote: > On Wed, Jun 15, 2016 at 10:37:24AM +0200, Paul Bolle wrote: >> [Added Sinclair, Thomas, and "VMware Graphics".] >> >> On do, 2016-04-14 at 07:34 -0700, Joe Perches wrote: >>> On Thu, 2016-04-14 at 13:32 +0200, Paul Bolle wrote: On do, 2016-03-03 a

[Intel-gfx] [PATCH 01/14] drm: Nuke legacy maps debugfs files

2016-06-15 Thread Emil Velikov
On 14 June 2016 at 19:50, Daniel Vetter wrote: > GEM stopped using those a while ago, and no one should ever > need to use them again to debug legacy horror show drivers. > > Nuke it all. Aside: It would kinda be nice if we'd have some > generic debugfs dumps for at least kms ... > > Signed-off-by

[Bug 76564] [AMD Fusion E-350] HDMI refresh rates doesn't match expectations

2016-06-15 Thread bugzilla-dae...@freedesktop.org
. -- 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/20160615/83baaed0/attachment.html>

[Bug 46713] HDMI audio played back at a wrong rate

2016-06-15 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20160615/b088d744/attachment.html>

DRM DMA Engine

2016-06-15 Thread Jose Abreu
Hi Daniel, On 15-06-2016 09:52, Daniel Vetter wrote: > On Tue, Jun 14, 2016 at 1:19 PM, Jose Abreu > wrote: >>> I assume that xilinx VDMA is the only way to feed pixel data into your >>> display pipeline. Under that assumption: >>> >>> drm_plane should map to Xilinx VDMA, and the drm_plane->drm

linux-4.7-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c: 2 * pointless tests ?

2016-06-15 Thread David Binderman
Hello there, >yup, looks like we can drop the two pipe<0 checks. Righto. >Care to send a patch? Oh dear. My success rate with patches is near zero. Maybe something like this might be suitable: *** linux-3.7-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c.sav 2016-06-15 10:58:04.868619030 +0100 ---

[PATCH v3 0/6] fix bugs; enable iommu for ARM64

2016-06-15 Thread Shunqian Zheng
This series patches mainly for ARM64 supporting. To do this, it first add virtual iommu slave device which DRM can attach to, convert DRM driver to use common iommu API instead of the ARM32 functions, and then use DMA API in iommu driver to map, to flush cache. Mainly changes of V3: - Instead

[PATCH v3 1/6] iommu/rockchip: fix devm_{request,free}_irq parameter

2016-06-15 Thread Shunqian Zheng
From: Simon Xue Even though the iommu shares irq with its master, using the *dev of iommu instead of master's *dev for devm_{request,free}_irq makes things clear. Signed-off-by: Simon Xue Signed-off-by: Shunqian Zheng Reviewed-by: Tomasz Figa --- drivers/iommu/rockchip-iommu.c | 4 ++-- 1 fi

[PATCH v3 2/6] iommu/rockchip: add map_sg callback for rk_iommu_ops

2016-06-15 Thread Shunqian Zheng
From: Simon Xue The iommu_dma_alloc() in iommu/dma-iommu.c calls iommu_map_sg() that requires the callback iommu_ops .map_sg(). Adding the default_iommu_map_sg() to rockchip iommu accordingly. Signed-off-by: Simon Xue Signed-off-by: Shunqian Zheng Reviewed-by: Tomasz Figa --- drivers/iommu/r

[PATCH v3 3/6] iommu/rockchip: support virtual iommu slave device

2016-06-15 Thread Shunqian Zheng
An virtual master device like DRM need to attach to iommu domain to share the mapping with VOPs(the one with actual iommu slaves). DRM attaches to iommu and allocates buffers before VOPs enabled, which means there may have not real iommu devices can be used to do dma mapping. This patch creates a

[PATCH v3 4/6] drm: rockchip: use common iommu api to attach iommu

2016-06-15 Thread Shunqian Zheng
Rockchip DRM used the arm special API, arm_iommu_*(), to attach iommu for ARM32 SoCs. This patch convert to common iommu API so it would support ARM64 like RK3399. The general idea is domain_alloc(), attach_device() and arch_setup_dma_ops() to set dma_ops manually for DRM at the last. Signed-off-

[PATCH v3 5/6] iommu/rockchip: use DMA API to map, to flush cache

2016-06-15 Thread Shunqian Zheng
Use DMA API instead of architecture internal functions like __cpuc_flush_dcache_area() etc. To support the virtual device like DRM the virtual slave iommu added in the previous patch, attaching to which the DRM can use it own domain->dev for dma_map_*(), dma_sync_*() even VOP is disabled. With th

[PATCH v3 6/6] iommu/rockchip: enable rockchip iommu on ARM64 platform

2016-06-15 Thread Shunqian Zheng
From: Simon Xue This patch makes it possible to compile the rockchip-iommu driver on ARM64 platform to be used with 64-bit SoCs equipped with this type of IOMMU. Signed-off-by: Simon Xue Signed-off-by: Shunqian Zheng Reviewed-by: Tomasz Figa --- drivers/iommu/Kconfig | 2 +- 1 file changed,

[Intel-gfx] [PATCH 12/14] drm: Move master pointer from drm_minor to drm_device

2016-06-15 Thread Chris Wilson
On Tue, Jun 14, 2016 at 08:51:07PM +0200, Daniel Vetter wrote: > There can only be one current master, and it's for the overall device. > Render/control minors don't support master-based auth at all. > > This simplifies the master logic a lot, at least in my eyes: All these > additional pointer ch

[Intel-gfx] [PATCH 02/14] drm: Hide hw.lock cleanup in filp->release better

2016-06-15 Thread Emil Velikov
On 14 June 2016 at 19:50, Daniel Vetter wrote: > A few things: > - Rename the cleanup function from drm_master_release to > drm_legacy_lock_release. It doesn't relase any master stuff, but > just the legacy hw lock. > - Hide it in drm_lock.c, which allows us to make a few more functions > st

[PATCH 02/44] drm: Add a callback from connector registering

2016-06-15 Thread Chris Wilson
If a driver wants to more precisely control its initialisation and in particular, defer registering its interfaces with userspace until after everything is setup, it also needs to defer registering the connectors. As some devices need more work during registration, add a callback so that drivers ca

[PATCH 04/44] drm: Automatically unregister the connector during cleanup

2016-06-15 Thread Chris Wilson
As we now can call drm_connector_unregister() multiple times, provide a failsafe unregister for a connector when cleaning it up. v2: Add a WARN to catch any connectors that are still visible to userspace when we come to destoy them. Signed-off-by: Chris Wilson Cc: Dave Airlie Cc: dri-devel at l

[PATCH 06/44] drm/arc: Remove redundant calls to drm_connector_register_all()

2016-06-15 Thread Chris Wilson
Up to now, the recommendation was for drivers to call drm_dev_register() followed by drm_connector_register_all(). Now that drm_connector_register() is safe against multiple invocations, we can move drm_connector_register_all() to drm_dev_register() and not suffer from any backwards compatibility i

[PATCH 07/44] drm/atmel-hlcdc: Remove redundant calls to drm_connector_register_all()

2016-06-15 Thread Chris Wilson
Up to now, the recommendation was for drivers to call drm_dev_register() followed by drm_connector_register_all(). Now that drm_connector_register() is safe against multiple invocations, we can move drm_connector_register_all() to drm_dev_register() and not suffer from any backwards compatibility i

[PATCH 01/44] drm: Export drm_dev_init() for subclassing

2016-06-15 Thread Chris Wilson
In order to allow drivers to pack their privates and drm_device into one struct (e.g. for subclassing), export the initialisation routines for struct drm_device. v2: Missed return ret. That error path had only one job to do! v3: Cross-referencing drm_dev_init/drm_dev_alloc in kerneldoc, fix missed

[PATCH 03/44] drm: Make drm_connector_register() safe against multiple calls

2016-06-15 Thread Chris Wilson
Protect against drivers that may try to register the connector more than once, or who try to unregister it multiple times. Signed-off-by: Chris Wilson Cc: Dave Airlie Cc: dri-devel at lists.freedesktop.org Reviewed-by: Daniel Vetter --- drivers/gpu/drm/drm_crtc.c | 9 + include/drm/drm

[PATCH 08/44] drm/hisilicon: Remove redundant calls to drm_connector_register_all()

2016-06-15 Thread Chris Wilson
Up to now, the recommendation was for drivers to call drm_dev_register() followed by drm_connector_register_all(). Now that drm_connector_register() is safe against multiple invocations, we can move drm_connector_register_all() to drm_dev_register() and not suffer from any backwards compatibility i

[PATCH 09/44] drm/mediatek: Remove redundant calls to drm_connector_register_all()

2016-06-15 Thread Chris Wilson
Up to now, the recommendation was for drivers to call drm_dev_register() followed by drm_connector_register_all(). Now that drm_connector_register() is safe against multiple invocations, we can move drm_connector_register_all() to drm_dev_register() and not suffer from any backwards compatibility i

[PATCH 10/44] drm/msm: Remove redundant calls to drm_connector_register_all()

2016-06-15 Thread Chris Wilson
Up to now, the recommendation was for drivers to call drm_dev_register() followed by drm_connector_register_all(). Now that drm_connector_register() is safe against multiple invocations, we can move drm_connector_register_all() to drm_dev_register() and not suffer from any backwards compatibility i

[PATCH 11/44] drm/rcar-du: Remove redundant calls to drm_connector_register_all()

2016-06-15 Thread Chris Wilson
Up to now, the recommendation was for drivers to call drm_dev_register() followed by drm_connector_register_all(). Now that drm_connector_register() is safe against multiple invocations, we can move drm_connector_register_all() to drm_dev_register() and not suffer from any backwards compatibility i

[PATCH 12/44] drm: Pass the drm_dp_aux->hw_mutex to i2c for its locking

2016-06-15 Thread Chris Wilson
Rather than have both drm_dp_aux lock within its transfer, and i2c to lock around the transfer, use the same lock by filling in the locking callbacks that i2c wants to use. We require our own hw_mutex as we bypass i2c_transfer for drm_dp_dpcd_access(). Signed-off-by: Chris Wilson Cc: Dave Airlie

[PATCH 13/44] drm: Minimally initialise drm_dp_aux

2016-06-15 Thread Chris Wilson
When trying to split up the initialisation phase and the registration phase, one immediate problem encountered is trying to use our own i2c devices before registration with userspace (to read EDID during device discovery). drm_dp_aux in particular only offers an interface for setting up the device

[PATCH v2 0/6] drm/tilcdc Fixes and cleanups

2016-06-15 Thread Jyri Sarha
On 06/15/16 11:39, Jyri Sarha wrote: > Some fixes and cleanups that should get merged to tilcdc even if my > atomic changes are still a work in progress. > I forgot to add changelog. So here it is: Changes since first version: - "drm/tilcdc: Restore old dpms state in pm_resume()" - Fix typos f

[Intel-gfx] [PATCH 03/14] drm: Link directly from drm_master to drm_device

2016-06-15 Thread Emil Velikov
On 14 June 2016 at 19:50, Daniel Vetter wrote: > Master-based auth only exists for the legacy/primary drm_minor, hence > there can only be one per device. The goal here is to untangle the > epic dereference games of minor->master and master->minor which is > just massively confusing. > Good riddan

[PATCH 1/6] drm/ttm: remove no_gpu_wait param from ttm_bo_move_accel_cleanup

2016-06-15 Thread Christian König
Alex do you want to pull that in through your branches or should I send Dave a separate pull request for the TTM changes? BTW: I'm trying to enable this on radeon as well. In theory it should work out of the box. Regards, Christian. Am 15.06.2016 um 13:44 schrieb Christian König: > From: Chri

[PATCH 1/3] drm/rockchip: inno_hdmi: add audio support

2016-06-15 Thread Yakir Yang
Using the common hdmi-codec driver to support hdmi audio function. Signed-off-by: Yakir Yang --- drivers/gpu/drm/rockchip/inno_hdmi.c | 237 ++- drivers/gpu/drm/rockchip/inno_hdmi.h | 2 + 2 files changed, 237 insertions(+), 2 deletions(-) diff --git a/drivers/

[PATCH 2/3] ARM: dts: rockchip: add simple sound card for RK3036 SoCs

2016-06-15 Thread Yakir Yang
Using I2S as the audio input source, and force the mclk_fs to 256. Signed-off-by: Yakir Yang --- arch/arm/boot/dts/rk3036.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi index 843d2be..ecff071 100644 -

[PATCH 3/3] ARM: dts: rockchip: enable hdmi audio on rk3036-kylin

2016-06-15 Thread Yakir Yang
Enable the basic hdmi audio function on rk3036 kylin board. Signed-off-by: Yakir Yang --- arch/arm/boot/dts/rk3036-kylin.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3036-kylin.dts b/arch/arm/boot/dts/rk3036-kylin.dts index 1df1557..070cfe1 100644 --- a/arch/a

[PATCH v2 3/3] iommu: convert DT component matching to component_match_add_release()

2016-06-15 Thread Joerg Roedel
On Fri, Jun 03, 2016 at 03:21:30PM +0100, Russell King wrote: > Convert DT component matching to use component_match_add_release(). > > Signed-off-by: Russell King > --- > drivers/iommu/mtk_iommu.c | 14 ++ > 1 file changed, 6 insertions(+), 8 deletions(-) Applied, thanks.

[PATCH] drm/atomic-helpers: Stall on the right commit

2016-06-15 Thread Liviu Dudau
On Tue, Jun 14, 2016 at 07:50:58PM +0200, Daniel Vetter wrote: > stall_checks carefully picked out the right commit to stall on, then > promptly used the wrong variable. Due to the break in the next loop > iteration this could be the 3rd commit, or if the list only has 2 > entries commit would now

[PATCH v3 3/6] iommu/rockchip: support virtual iommu slave device

2016-06-15 Thread Tomasz Figa
Hi Shunqian, On Wed, Jun 15, 2016 at 9:04 PM, Shunqian Zheng wrote: > An virtual master device like DRM need to attach to iommu > domain to share the mapping with VOPs(the one with actual > iommu slaves). > DRM attaches to iommu and allocates buffers before VOPs enabled, > which means there may

[PATCH] drm/atomic-helpers: Clear up cleanup_done a bit

2016-06-15 Thread liviu.du...@arm.com
On Wed, Jun 15, 2016 at 12:24:26PM +0200, Daniel Vetter wrote: > It's not obvious at first sight that this is a fastpath, make that > clearer with a goto. Fallout from a discussion with Liviu on irc. > > v2: Drop bogus hunks that crept in. > > Cc: Liviu.Dudau at arm.com > Acked-by: Liviu.Dudau at

[Bug 96512] Portal Stories Mel: Player's hands appear black at high shader quality

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

[PATCH v5 0/3] Add support for ARM Mali Display Processors

2016-06-15 Thread Liviu Dudau
Hello, This is the fifth revision of the driver for the Mali Display Processors (Mali DP). Currently, the driver supports the Display Engine found in Mali DP500, DP550 and DP650, with up to 3 planes that can be rotated by the hardware. There are features that the hardware supports that are not cu

  1   2   >