[PATCH] drm: Kconfig: Let all DRM_GEM_CMA_HELPER related macros depend on HAVE_DMA_ATTRS

2015-02-03 Thread Chen Gang S
After this fixing building patch, xtensa can pass allmodconfig. - There are still several warnings for it (I sent several patches for them, but not for all). - Xtensa gcc5 cross compiler has issues: it causes more than 10 broken areas with allmodconfig (but no issues with defconfig).

[Bug 73528] Deferred lighting in Second Life causes system hiccups and screen flickering

2015-02-03 Thread bugzilla-dae...@freedesktop.org
opefully a solution isn't that difficult now. Any thoughts please? -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments

[Bug 88877] Invisible Chrome windows on radeonsi with KWin compositing

2015-02-03 Thread bugzilla-dae...@freedesktop.org
me the modesetting driver from current xserver has proper DRI3 and Present support. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments

[Bug 88925] GPU lockup in XCOM with R270X

2015-02-03 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20150203/b81226a9/attachment.html>

[Intel-gfx] [RFC v3 1/4] drm: Add support to find drm_panel by name

2015-02-03 Thread Shobhit Kumar
On 01/27/2015 03:01 PM, Shobhit Kumar wrote: > For scenarios where OF is not available, we can use panel identification by > name. Any body had a look at this ? Regards Shobhit > > Signed-off-by: Shobhit Kumar > --- > drivers/gpu/drm/drm_panel.c | 18 ++ > include/drm/drm_pane

[PATCH -v2] drm/exynos: do not disable hdmi clocks for exynos5420

2015-02-03 Thread Joonyoung Shim
Hi, On 02/02/2015 11:26 PM, Gustavo Padovan wrote: > From: Prathyush K > > When VPLL clock of less than 140 MHz was used and all the three clocks - > hdmiphy, hdmi, sclk_hdmi are disabled, the system hangs during S2R when > HDMI is connected. Since we want to use a vpll clock of 70.5 MHz, we > c

[Bug 88758] Low FPS in settings on Dota2

2015-02-03 Thread bugzilla-dae...@freedesktop.org
u are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/b0a9ff8e/attachment.html>

[Bug 79155] [Tesseract Game] Global Illumination: Medium Causes Color Distortion

2015-02-03 Thread bugzilla-dae...@freedesktop.org
ves/dri-devel/attachments/20150203/36a5114b/attachment.html>

[Bug 78790] Game Tesseract: Crash on shaders and out of registers LLVM errors

2015-02-03 Thread bugzilla-dae...@freedesktop.org
ves/dri-devel/attachments/20150203/f6270517/attachment.html>

[Bug 88758] Low FPS in settings on Dota2

2015-02-03 Thread bugzilla-dae...@freedesktop.org
ment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/7f13d45e/attachment-0001.html>

[Bug 88758] Low FPS in settings on Dota2

2015-02-03 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/b494272f/attachment.html>

[Bug 88758] Low FPS in settings on Dota2

2015-02-03 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/94a7329b/attachment.html>

[Bug 88658] (bisected) Slow video playback on Kabini

2015-02-03 Thread bugzilla-dae...@freedesktop.org
7600211 I get error 403 for that. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/c94dcdfb/attachment.html>

[Bug 88758] Low FPS in settings on Dota2

2015-02-03 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20150203/b4b839c0/attachment.html>

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Daniel Vetter
On Mon, Feb 02, 2015 at 09:46:16PM +, Russell King - ARM Linux wrote: > On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: > > On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: > > >> My initial thought is for dma-buf to not try to prevent something than > > >> an exporter can actu

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Daniel Vetter
On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: > On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: > >> My initial thought is for dma-buf to not try to prevent something than > >> an exporter can actually do.. I think the scenario you describe could > >> be handled by two sg-lists,

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Daniel Vetter
On Mon, Feb 02, 2015 at 05:36:10PM -0500, Rob Clark wrote: > well, I guess anyways when it comes to sharing buffers, it won't be > the vram placement of the bo that gets shared ;-) Actually that's pretty much what I'd like to be able to do for i915. Except that vram is just a specially protected c

[Bug 88658] (bisected) Slow video playback on Kabini

2015-02-03 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/22596b3e/attachment.html>

[PATCH] drm/modes: Print the mode status in human readable form

2015-02-03 Thread Daniel Vetter
On Mon, Feb 02, 2015 at 12:56:26PM -0500, Alex Deucher wrote: > On Mon, Feb 2, 2015 at 12:13 PM, wrote: > > From: Ville Syrjälä > > > > Currently when a mode is rejected the reason is printed as a raw number. > > Having to manually decode that to a enum drm_mode_status value is > > tiresome. H

[PATCH v3] dma-buf: cleanup dma_buf_export() to make it easily extensible

2015-02-03 Thread Daniel Thompson
On 28/01/15 12:54, Sumit Semwal wrote: > At present, dma_buf_export() takes a series of parameters, which > makes it difficult to add any new parameters for exporters, if required. > > Make it simpler by moving all these parameters into a struct, and pass > the struct * as parameter to dma_buf_exp

[PATCH] drm: Kconfig: Let all DRM_GEM_CMA_HELPER related macros depend on HAVE_DMA_ATTRS

2015-02-03 Thread Laurent Pinchart
Hi Chen, Thank you for the patch. On Sunday 01 February 2015 22:08:33 Chen Gang S wrote: > DRM_GEM_CMA_HELPER is depend on HAVE_DMA_ATTRS, or it will break the > building. The related error (with allmodconfig under xtensa): > > CC [M] drivers/gpu/drm/drm_gem_cma_helper.o > drivers/gpu/drm

[PATCH 1/4] drm/irq: Add drm_crtc_vblank_reset

2015-02-03 Thread Daniel Vetter
At driver load we need to tell the vblank code about the state of the pipes, so that the logic around reject vblank_get when the pipe is off works correctly. Thus far i915 used drm_vblank_off, but one of the side-effects of it is that it also saves the vblank counter. And for that it calls down in

[PATCH 2/4] drm/i915: Drop pipe_enable checks in vblank funcs

2015-02-03 Thread Daniel Vetter
With Ville's rework to use drm_crtc_vblank_on/off the core will take care of rejecting drm_vblank_get calls when the pipe is off. Also the core won't call the get_vblank_counter hooks in that case either. And since we've dropped ums support recently we can now remove these hacks, yay! Noticed whil

[PATCH 3/4] drm/i915: Flatten DRIVER_MODESET checks in i915_irq.c

2015-02-03 Thread Daniel Vetter
UMS is no more! Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/i915_irq.c | 36 +++- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index 80f35dcffea4..37189a25ca82 100644 --

[PATCH 4/4] drm/i915: Switch to drm_crtc variants of vblank functions

2015-02-03 Thread Daniel Vetter
Where possible right now. Just a small step towards nirvana ... Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/i915_debugfs.c | 2 +- drivers/gpu/drm/i915/intel_display.c | 9 + drivers/gpu/drm/i915/intel_sprite.c | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff

[PATCH 1/4] drm/irq: Add drm_crtc_vblank_reset

2015-02-03 Thread Laurent Pinchart
Hi Daniel, Thank you for the patch. On Tuesday 03 February 2015 11:30:11 Daniel Vetter wrote: > At driver load we need to tell the vblank code about the state of the > pipes, so that the logic around reject vblank_get when the pipe is off > works correctly. > > Thus far i915 used drm_vblank_off,

[Bug 88925] GPU lockup in XCOM with R270X

2015-02-03 Thread bugzilla-dae...@freedesktop.org
chives/dri-devel/attachments/20150203/7fbb2968/attachment-0001.html>

[PULL] drm-amdkfd-next-fixes

2015-02-03 Thread Oded Gabbay
Hi Dave, Two more fixes for 3.20 amdkfd code: - Fixing accounting of active queues - Preserving a register internal state Thanks, Oded The following changes since commit e4bf44b3b558742fb7c58b4d34e206c8942f07e6: drm/modes: Print the mode status in human readable form (2015-02-03 11:

[PATCH 1/4] drm/irq: Add drm_crtc_vblank_reset

2015-02-03 Thread Daniel Vetter
On Tue, Feb 03, 2015 at 01:31:34PM +0200, Laurent Pinchart wrote: > Hi Daniel, > > Thank you for the patch. > > On Tuesday 03 February 2015 11:30:11 Daniel Vetter wrote: > > At driver load we need to tell the vblank code about the state of the > > pipes, so that the logic around reject vblank_get

[PATCH 03/14] drm/bridge: make bridge registration independent of drm flow

2015-02-03 Thread Thierry Reding
des them that needs to free them (in ->remove()). It's not a completely perfect solution yet, but with the registry patch that I proposed a while back all the remaining issues should go away. Now if I could get anybody to look at that patch... Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/443d0324/attachment.sig>

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 08:48:56AM +0100, Daniel Vetter wrote: > On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: > > On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: > > >> My initial thought is for dma-buf to not try to prevent something than > > >> an exporter can actually do.. I

[Bug 84648] Lag/Pause When VRAM->GTT or GTT->VRAM transfer occur

2015-02-03 Thread bugzilla-dae...@freedesktop.org
ubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/cb99ce00/attachment-0001.html>

[PATCH v3] drm/panel: add s6e3ha2 AMOLED panel driver

2015-02-03 Thread Thierry Reding
're supposed to wait for the display driver to tell you to turn it on via ->prepare() and ->enable(). > + > + drm_panel_init(&ctx->panel); > + ctx->panel.dev = dev; > + ctx->panel.funcs = &s6e3ha2_drm_funcs; I don't see a use for the _drm in here. > +static struct of_device_id s6e3ha2_of_match[] = { static const, please. > + { .compatible = "samsung,s6e3ha2" }, > + { } > +}; > +MODULE_DEVICE_TABLE(of, s6e3ha2_of_match); > + > +static struct mipi_dsi_driver s6e3ha2_driver = { > + .probe = s6e3ha2_probe, > + .remove = s6e3ha2_remove, > + .driver = { > + .name = "panel_s6e3ha2", Please use a - instead of an _ here, for consistency with other drivers. > + .owner = THIS_MODULE, No need for this anymore. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/e5c8aa2f/attachment.sig>

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Daniel Vetter
On Tue, Feb 03, 2015 at 12:28:14PM +, Russell King - ARM Linux wrote: > On Tue, Feb 03, 2015 at 08:48:56AM +0100, Daniel Vetter wrote: > > On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: > > > On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: > > > >> My initial thought is for d

[RFC v3 1/4] drm: Add support to find drm_panel by name

2015-02-03 Thread Thierry Reding
a static one. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/91aced16/attachment.sig>

[RFC v3 2/4] mfd: Add a new cell device for panel controlled by crystal cove pmic

2015-02-03 Thread Thierry Reding
d... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/ae9ddb19/attachment-0001.sig>

[RFC v3 3/4] drm/i915: Add new panel driver based on crystal cove pmic

2015-02-03 Thread Thierry Reding
move = crystalcove_panel_remove, > + .driver = { > + .name = "crystal_cove_panel", > + }, > +}; > + > +module_platform_driver(crystalcove_panel_driver); What's also weird here is that you claim this to be a DSI panel, yet you use a platform driver. The right thing to do would be to instantiate the device as mipi_dsi_device, with the DSI controller being the parent. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/b3b71794/attachment.sig>

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Christian Gmeiner
2015-02-03 13:28 GMT+01:00 Russell King - ARM Linux : > On Tue, Feb 03, 2015 at 08:48:56AM +0100, Daniel Vetter wrote: >> On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: >> > On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: >> > >> My initial thought is for dma-buf to not try to pr

[PATCH 2/2] drm/exynos: solve plane on/off disharmory issue

2015-02-03 Thread Gustavo Padovan
Hi Joonyoung, 2015-01-29 Joonyoung Shim : > The exynos_update_plane functions can be called from set_plane as well > as set_crtc and pageflip. Currently the plane displayed by set_plane > isn't called exynos_plane_on function and if plane is disabled, it calls > exynos_plane_off, so it causes dis

[PATCH 1/3] drm/panel: Add display_timing support

2015-02-03 Thread Thierry Reding
nt was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/23f05c0b/attachment.sig>

[PATCH] drm/exynos: Fix disharmony when setting plane on/off

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan This issue was caused by the latest exynos_update_plane() clean up that unified plane operations. After those changes the plane failed to go the On state. This patch fix this problem by doing correct account of exynos_crtc->enabled. Signed-off-by: Gustavo Padovan --- driv

[PATCH v3 2/3] drm/panel: add s6e63j0x03 LCD panel driver

2015-02-03 Thread Thierry Reding
l driver that I reviewed earlier. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/d0edcc9d/attachment-0001.sig>

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Rob Clark
On Tue, Feb 3, 2015 at 2:48 AM, Daniel Vetter wrote: > On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: >> On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: >> >> My initial thought is for dma-buf to not try to prevent something than >> >> an exporter can actually do.. I think the s

[PATCH 6/6] drm/exynos: do not copy adjusted mode into mode during crtc mode_set

2015-02-03 Thread Gustavo Padovan
2015-02-02 Joonyoung Shim : > Hi, > > On 01/30/2015 11:44 PM, Gustavo Padovan wrote: > > Hi Joonyoung, > > > > 2015-01-30 Joonyoung Shim : > > > >> Hi, > >> > >> On 01/23/2015 09:43 PM, Gustavo Padovan wrote: > >>> From: Daniel Kurtz > >>> > >>> The 'mode' is the modeline information which spe

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Arnd Bergmann
On Tuesday 03 February 2015 09:04:03 Rob Clark wrote: > On Tue, Feb 3, 2015 at 2:48 AM, Daniel Vetter wrote: > > On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: > >> On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: > >> >> My initial thought is for dma-buf to not try to prevent so

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Rob Clark
On Tue, Feb 3, 2015 at 7:28 AM, Russell King - ARM Linux wrote: > On Tue, Feb 03, 2015 at 08:48:56AM +0100, Daniel Vetter wrote: >> On Mon, Feb 02, 2015 at 03:30:21PM -0500, Rob Clark wrote: >> > On Mon, Feb 2, 2015 at 11:54 AM, Daniel Vetter wrote: >> > >> My initial thought is for dma-buf to no

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 02:28:26PM +0100, Christian Gmeiner wrote: > 2015-02-03 13:28 GMT+01:00 Russell King - ARM Linux arm.linux.org.uk>: > > What I've found with *my* etnaviv drm implementation (not Christian's - I > > found it impossible to work with Christian, especially with the endless > >

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 09:04:03AM -0500, Rob Clark wrote: > Since I'm stuck w/ an iommu, instead of built in mmu, my plan was to > drop use of dma-mapping entirely (incl the current call to dma_map_sg, > which I just need until we can use drm_cflush on arm), and > attach/detach iommu domains direc

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 03:17:27PM +0100, Arnd Bergmann wrote: > On Tuesday 03 February 2015 09:04:03 Rob Clark wrote: > > Since I'm stuck w/ an iommu, instead of built in mmu, my plan was to > > drop use of dma-mapping entirely (incl the current call to dma_map_sg, > > which I just need until we c

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Rob Clark
On Tue, Feb 3, 2015 at 9:37 AM, Russell King - ARM Linux wrote: > On Tue, Feb 03, 2015 at 09:04:03AM -0500, Rob Clark wrote: >> Since I'm stuck w/ an iommu, instead of built in mmu, my plan was to >> drop use of dma-mapping entirely (incl the current call to dma_map_sg, >> which I just need until

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Arnd Bergmann
On Tuesday 03 February 2015 14:41:09 Russell King - ARM Linux wrote: > On Tue, Feb 03, 2015 at 03:17:27PM +0100, Arnd Bergmann wrote: > > On Tuesday 03 February 2015 09:04:03 Rob Clark wrote: > > > Since I'm stuck w/ an iommu, instead of built in mmu, my plan was to > > > drop use of dma-mapping en

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 09:44:57AM -0500, Rob Clark wrote: > On Tue, Feb 3, 2015 at 9:37 AM, Russell King - ARM Linux > wrote: > > On Tue, Feb 03, 2015 at 09:04:03AM -0500, Rob Clark wrote: > >> Since I'm stuck w/ an iommu, instead of built in mmu, my plan was to > >> drop use of dma-mapping entir

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Rob Clark
On Tue, Feb 3, 2015 at 9:41 AM, Russell King - ARM Linux wrote: > On Tue, Feb 03, 2015 at 03:17:27PM +0100, Arnd Bergmann wrote: >> On Tuesday 03 February 2015 09:04:03 Rob Clark wrote: >> > Since I'm stuck w/ an iommu, instead of built in mmu, my plan was to >> > drop use of dma-mapping entirely

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 03:52:48PM +0100, Arnd Bergmann wrote: > On Tuesday 03 February 2015 14:41:09 Russell King - ARM Linux wrote: > > I'd go as far as saying that the "DMA API on top of IOMMU" is more > > intended to be for a system IOMMU for the bus in question, rather > > than a device-level

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Rob Clark
On Tue, Feb 3, 2015 at 9:52 AM, Arnd Bergmann wrote: > On Tuesday 03 February 2015 14:41:09 Russell King - ARM Linux wrote: >> On Tue, Feb 03, 2015 at 03:17:27PM +0100, Arnd Bergmann wrote: >> > On Tuesday 03 February 2015 09:04:03 Rob Clark wrote: >> > > Since I'm stuck w/ an iommu, instead of bu

[Linaro-mm-sig] [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Arnd Bergmann
On Tuesday 03 February 2015 15:22:05 Russell King - ARM Linux wrote: > On Tue, Feb 03, 2015 at 03:52:48PM +0100, Arnd Bergmann wrote: > > On Tuesday 03 February 2015 14:41:09 Russell King - ARM Linux wrote: > > > I'd go as far as saying that the "DMA API on top of IOMMU" is more > > > intended to b

[Bug 87023] Dota 2 crashed and hang on ATi Mobility Radeon HD 5650 (Acer 4745G)

2015-02-03 Thread bugzilla-dae...@freedesktop.org
-- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/cbbe19b7/attachment.html>

[PATCH] RFC: drm: add support for tiled/compressed/etc modifier in addfb2

2015-02-03 Thread Thierry Reding
ed > + * below. The lower 56 bits are assigned as vendor sees fit. > + */ > + > +/* Vendor Ids: */ > +#define DRM_FORMAT_MOD_NONE 0 > +#define DRM_FORMAT_MOD_VENDOR_INTEL 0x01 > +#define DRM_FORMAT_MOD_VENDOR_AMD 0x02 > +#define DRM_FORMAT_MOD_VENDOR_NV 0x03

Fwd: 3.18.3->4 : external monitor is black after wakeup of a docked system after s2ram

2015-02-03 Thread Toralf Förster
This commits breaks a working configuration here - reverting it let both version 3.18.4 and 3.18.5 working fine again at a hardened Gentoo Linux commit ddf6f9a4c9fb1c72ea2e8d196c9a580a8e914dbd Author: Dave Airlie Date: Mon Dec 8 13:23:37 2014 +1000 drm/i915: resume MST after reading back

[PATCH] drm: remove DRM_FORMAT_NV12MT

2015-02-03 Thread Daniel Vetter
So this has been merged originally in commit 83052d4d5cd518332440bb4ee63d68bb5f744e0f Author: Seung-Woo Kim Date: Thu Dec 15 15:40:55 2011 +0900 drm: Add multi buffer plane pixel formats which hasn't seen a lot of review really. The problem is that it's not a real pixel format, but just a

[Linaro-mm-sig] [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 04:31:13PM +0100, Arnd Bergmann wrote: > On Tuesday 03 February 2015 15:22:05 Russell King - ARM Linux wrote: > > Don't we already have those in the DMA API? dma_sync_*() ? > > > > dma_map_sg() - sets up the system MMU and deals with initial cache > > coherency handling. D

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

2015-02-03 Thread bugzilla-dae...@freedesktop.org
olved. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/79effc58/attachment.html>

[Bug 77784] Certain mono based games hang the system with radeonsi (probably llvm backend)

2015-02-03 Thread bugzilla-dae...@freedesktop.org
dri-devel/attachments/20150203/ae3a0df0/attachment.html>

[Linaro-mm-sig] [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Arnd Bergmann
On Tuesday 03 February 2015 15:54:04 Russell King - ARM Linux wrote: > On Tue, Feb 03, 2015 at 04:31:13PM +0100, Arnd Bergmann wrote: > > The dma_map_* interfaces assign the virtual addresses internally, > > using typically either a global address space for all devices, or one > > address space per

[PATCH] drm: remove DRM_FORMAT_NV12MT

2015-02-03 Thread Gustavo Padovan
2015-02-03 Daniel Vetter : > So this has been merged originally in > > commit 83052d4d5cd518332440bb4ee63d68bb5f744e0f > Author: Seung-Woo Kim > Date: Thu Dec 15 15:40:55 2011 +0900 > > drm: Add multi buffer plane pixel formats > > which hasn't seen a lot of review really. The problem is

[Linaro-mm-sig] [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Rob Clark
On Tue, Feb 3, 2015 at 11:12 AM, Arnd Bergmann wrote: > I agree for the case you are describing here. From what I understood > from Rob was that he is looking at something more like: > > Fig 3 > CPU--L1cache--L2cache--Memory--IOMMU-device > > where the IOMMU controls one or more contexts per d

[Linaro-mm-sig] [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Arnd Bergmann
On Tuesday 03 February 2015 11:22:01 Rob Clark wrote: > On Tue, Feb 3, 2015 at 11:12 AM, Arnd Bergmann wrote: > > I agree for the case you are describing here. From what I understood > > from Rob was that he is looking at something more like: > > > > Fig 3 > > CPU--L1cache--L2cache--Memory--IOMMU-

[PATCH] drm/cirrus: Limit modes depending on bpp option

2015-02-03 Thread Takashi Iwai
The commit [8975626ea35a: drm/cirrus: allow 32bpp framebuffers for cirrus drm] broke X modesetting driver because cirrus driver still provides the full list of modes up to 1280x1024 while the 32bpp can support only up to 800x600. We might be able to filter out the invalid modes in mode_valid callb

[PATCH 1/3] drm/panel: Add display_timing support

2015-02-03 Thread Philipp Zabel
Hi Thierry, Am Dienstag, den 03.02.2015, 14:30 +0100 schrieb Thierry Reding: > On Thu, Dec 11, 2014 at 06:32:44PM +0100, Philipp Zabel wrote: > > Many panel data sheets additionally to typical values list allowed ranges > > for > > timings such as hsync/vsync lengths, porches, and the pixel clock

[Linaro-mm-sig] [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 05:12:40PM +0100, Arnd Bergmann wrote: > On Tuesday 03 February 2015 15:54:04 Russell King - ARM Linux wrote: > > On Tue, Feb 03, 2015 at 04:31:13PM +0100, Arnd Bergmann wrote: > > > The dma_map_* interfaces assign the virtual addresses internally, > > > using typically eith

[Linaro-mm-sig] [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Russell King - ARM Linux
On Tue, Feb 03, 2015 at 11:22:01AM -0500, Rob Clark wrote: > On Tue, Feb 3, 2015 at 11:12 AM, Arnd Bergmann wrote: > > I agree for the case you are describing here. From what I understood > > from Rob was that he is looking at something more like: > > > > Fig 3 > > CPU--L1cache--L2cache--Memory--I

[Bug 88947] "Unknown" display appears with no external display connected

2015-02-03 Thread bugzilla-dae...@freedesktop.org
usty/+bug/1355562 -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150203/f77155e2/attachment.html>

[Linaro-mm-sig] [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Rob Clark
On Tue, Feb 3, 2015 at 11:58 AM, Russell King - ARM Linux wrote: > > Okay, but switching contexts is not something which the DMA API has > any knowledge of (so it can't know which context to associate with > which mapping.) While it knows which device, it has no knowledge > (nor is there any way

[PATCH v2 06/10] drm/imx: switch to use media bus formats

2015-02-03 Thread Philipp Zabel
imx-drm internally misused the V4L2_PIX_FMT constants, which are supposed to describe the pixel format of frame buffers in memory, to describe the pixel format on the bus between the display controller and the encoder hardware instead. Now that MEDIA_BUS_FMT constants are available to drm drivers,

[PATCH v2 05/10] Add RGB666_1X24_CPADHI media bus format

2015-02-03 Thread Philipp Zabel
Commit 9e74d2926a28 ("staging: imx-drm: add LVDS666 support for parallel display") describes a 24-bit bus format where three 6-bit components each take the lower part of 8 bits with the two high bits zero padded. Add a component-wise padded media bus format RGB666_1X24_CPADHI to support this connec

[PATCH v2 01/10] Add RGB444_1X12 and RGB565_1X16 media bus formats

2015-02-03 Thread Philipp Zabel
From: Boris Brezillion Add RGB444_1X12 and RGB565_1X16 format definitions and update the documentation. Signed-off-by: Boris Brezillon Acked-by: Mauro Carvalho Chehab Acked-by: Sakari Ailus Acked-by: Laurent Pinchart Signed-off-by: Philipp Zabel --- Changes since v1: - Fixed constant value

[PATCH v2 00/10] Use media bus formats in imx-drm and add drm panel support

2015-02-03 Thread Philipp Zabel
Sorry about the noise, this time sent to the correct list: Currently the imx-drm driver misuses the V4L2_PIX_FMT constants to describe the pixel format on the parallel bus between display controllers and encoders. Now that MEDIA_BUS_FMT is available, use that instead. I'd like to get the V4L2 mai

[PATCH v2 08/10] drm/imx: imx-ldb: add drm_panel support

2015-02-03 Thread Philipp Zabel
This patch allows to optionally attach the lvds-channel to a panel supported by a drm_panel driver using of-graph bindings, instead of supplying the modes via display-timings in the device tree. This depends on of_graph_get_port_by_id and uses the OF graph to link the optional DRM panel to the LDB

[PATCH v2 02/10] Add LVDS RGB media bus formats

2015-02-03 Thread Philipp Zabel
This patch adds three new RGB media bus formats that describe 18-bit or 24-bit samples transferred over an LVDS bus with three or four differential data pairs, serialized into 7 time slots, using standard SPWG/PSWG/VESA or JEIDA data ordering. Signed-off-by: Philipp Zabel Acked-by: Sakari Ailus

[PATCH v2 09/10] drm/imx: imx-ldb: reset display clock input when disabling LVDS

2015-02-03 Thread Philipp Zabel
The LDB driver changes the attached display interface's input clock mux to the LDB_DI clock reference. Change it back again when disabling the LVDS display. Changing back to the PLL5 for example allows to configure the same DI for HDMI output later. Signed-off-by: Philipp Zabel --- drivers/gpu/d

[PATCH v2 10/10] drm/imx: imx-ldb: allow to determine bus format from the connected panel

2015-02-03 Thread Philipp Zabel
This patch makes the fsl,data-width and fsl,data-mapping device tree properties optional if a panel is connected to the ldb output port via the of_graph bindings. The data mapping is determined from the display_info.bus_format field provided by the panel. Signed-off-by: Philipp Zabel --- drivers

[PATCH v2 04/10] Add YUV8_1X24 media bus format

2015-02-03 Thread Philipp Zabel
This patch adds the media bus format for a 24-bit bus format with three 8-bit YUV components. Signed-off-by: Philipp Zabel Acked-by: Laurent Pinchart --- Documentation/DocBook/media/v4l/subdev-formats.xml | 37 ++ include/uapi/linux/media-bus-format.h | 3 +- 2

[PATCH v2 07/10] drm/imx: consolidate bus format variable names

2015-02-03 Thread Philipp Zabel
This patch consolidates the different interface_pix_fmt, pixel_fmt, pix_fmt, and pixfmt variables to a common name "bus_format" wherever they describe the pixel format on the bus between display controller and encoder hardware. At the same time, it renames imx_drm_panel_format to imx_drm_set_bus_fo

[PATCH v2 03/10] Add BGR888_1X24 and GBR888_1X24 media bus formats

2015-02-03 Thread Philipp Zabel
This patch adds two more 24-bit RGB formats. BGR888 is more or less common, GBR888 is used on the internal connection between the IPU display interface and the TVE (VGA DAC) on i.MX53 SoCs. Signed-off-by: Philipp Zabel Acked-by: Laurent Pinchart --- Documentation/DocBook/media/v4l/subdev-format

[PATCH 00/14] drm/exynos: cleanups + atomic phases 1 and 2

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan Hi, This series clean ups a few more paths from exynos-drm with the most important being the removal of the global page flip queue and the removal in driver internal data (struct *_win_data) that was replicating plane data. Following these patches comes the first step torw

[PATCH 01/14] drm/exynos: track vblank events on a per crtc basis

2015-02-03 Thread Gustavo Padovan
From: Mandeep Singh Baines The goal of the change is to make sure we send the vblank event on the current vblank. My hope is to fix any races that might be causing flicker. After this change I only see a flicker in the transition plymouth and X11. Simplified the code by tracking vblank events on

[PATCH 02/14] drm/exynos: Remove exynos_plane_dpms() call with no effect

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan exynos_plane_dpms(DRM_MODE_DPMS_ON) calls the win_enable()'s callback from the underlying layer. However neither one of these layers implement win_enable() - FIMD, Mixer and VIDI. Thus the call to exynos_plane_dpms() is pointless. Signed-off-by: Gustavo Padovan --- driver

[PATCH 03/14] drm/exynos: remove leftover functions declarations

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan These functions were already removed by previous cleanup work, but these ones were left behind. Signed-off-by: Gustavo Padovan Acked-by: Joonyoung Shim --- drivers/gpu/drm/exynos/exynos_drm_crtc.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/e

[PATCH 04/14] drm/exynos: remove struct *_win_data abstraction on planes

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan struct {fimd,mixer,vidi}_win_data was just keeping the same data as struct exynos_drm_plane thus get ride of it and use exynos_drm_plane directly. It changes how planes are created and remove .win_mode_set() callback that was only filling all *_win_data structs. Signed-off

[PATCH 05/14] drm/exynos: do not copy adjusted mode into mode during crtc mode_set

2015-02-03 Thread Gustavo Padovan
From: Daniel Kurtz The 'mode' is the modeline information which specifies the ideal mode requested by the mode set initiator (usually userspace). The 'adjusted_mode' is the actual hardware mode after all the crtcs and encoders have had a chance to "fix it up". The adjusted_mode starts as a dupli

[PATCH 06/14] drm/exynos: atomic phase 1: use drm_plane_helper_update()

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan Rip out the check from exynos_update_plane() and create exynos_check_plane() for the check phase enabling use to use the atomic helpers to call our check and update phases when updating planes. Update all users of exynos_update_plane() accordingly to call exynos_check_plane

[PATCH 07/14] drm/exynos: atomic phase 1: use drm_plane_helper_disable()

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan The atomic helper to disable planes also uses the optional .atomic_disable() helper. The unique operation it does is calling .win_disable() exynos_drm_fb_get_buf_cnt() needs a fb check too to avoid a null pointer. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos

[PATCH 08/14] drm/exynos: atomic phase 1: add atomic_begin()/atomic_flush()

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan Add CRTC callbacks .atomic_begin() .atomic_flush(). On exynos they unprotect the windows before the commit and protects it after based on a plane mask tha store which plane will be updated. For that we create two new exynos_crtc callbacks: .win_protect() and .win_unprotect(

[PATCH 09/14] drm/exynos: atomic phase 1: add .mode_set_nofb() callback

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan The new atomic infrastructure needs the .mode_set_nofb() callback to update CRTC timings before setting any plane. Signed-off-by: Gustavo Padovan Conflicts: drivers/gpu/drm/exynos/exynos_drm_crtc.c --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 55 +++

[PATCH 10/14] drm/exynos: atomic phase 2: wire up state reset(), duplicate() and destroy()

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan Set CRTC, planes and connectors to use the default implementations from the atomic helper library. The helpers will work to keep track of state for each DRM object. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/bridge/ptn3460.c | 4 drivers/gpu/drm/

[PATCH 11/14] drm/exynos: atomic phase 2: keep track of framebuffer pointer

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan Use drm_atomic_set_fb_for_plane() in the legacy page_flip path to keep track of the framebuffer pointer and reference. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/exynos

[PATCH 12/14] drm/exynos: make exynos_plane_mode_set() static

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan It is not used outside of the plane scope anymore. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_plane.c | 11 ++- drivers/gpu/drm/exynos/exynos_drm_plane.h | 5 - 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/drivers/

[PATCH 13/14] drm/exynos: use correct pipe number on vblank event

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan Use the pipe var received instead of using always -1 as pipe value. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.c b/drivers/gpu/drm/

[PATCH 14/14] drm/exynos: remove exynos_disable_plane()

2015-02-03 Thread Gustavo Padovan
From: Gustavo Padovan exynos_disable_plane() is used only once now thus remove it and call exynos_plane_dpms() directly. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_plane.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpu/drm/exyn

[Linaro-mm-sig] [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-03 Thread Daniel Vetter
On Tue, Feb 03, 2015 at 05:36:59PM +0100, Arnd Bergmann wrote: > On Tuesday 03 February 2015 11:22:01 Rob Clark wrote: > > On Tue, Feb 3, 2015 at 11:12 AM, Arnd Bergmann wrote: > > > I agree for the case you are describing here. From what I understood > > > from Rob was that he is looking at somet

  1   2   >