[PATCH v2 01/23] drm/rcar-du: Add missing alpha plane register definitions

2013-07-31 Thread Laurent Pinchart
Several alpha plane register definitions are missing, add them. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/rcar_du_regs.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_regs.h

[PATCH v2 00/23] R-Car DU DRM support for R8A7790

2013-07-31 Thread Laurent Pinchart
Hello, Here's the second version of a patch set that adds support for the DU found in the R8A7790 SoC. Compared to the R8A7779 DU, the R8A7790 has a third CRTC, internal LVDS encoders and different output routing options. These patches are based on the drm-next branch are are targetted at

[PATCH v2 02/23] drm/rcar-du: Use devm_ioremap_resource()

2013-07-31 Thread Laurent Pinchart
Replace the devm_request_mem_region() and devm_ioremap_nocache() calls with devm_ioremap_resource(). Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 22 +++--- 1 file changed, 3 insertions(+), 19 deletions(-)

[PATCH v2 03/23] drm/rcar-du: Add platform module device table

2013-07-31 Thread Laurent Pinchart
The platform device id driver data field points to a device information structure that only contains a (currently empty) features field for now. Support for additional model-dependent features will be added later. Only the R8A7779 variant is currently supported. Signed-off-by: Laurent Pinchart

[PATCH v2 05/23] drm/rcar-du: Clarify comment regarding plane Y source coordinate

2013-07-31 Thread Laurent Pinchart
The R8A7790 DU documentation contains further information regarding the plane Y source coordinate. Update the comment accordingly. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/rcar_du_plane.c | 9 ++--- 1 file changed, 6 insertions(+),

[PATCH v2 06/23] drm/rcar-du: Split LVDS encoder and connector

2013-07-31 Thread Laurent Pinchart
This prepares for the encoders rework. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/Makefile | 1 + drivers/gpu/drm/rcar-du/rcar_du_lvds.c| 120 +-- drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c | 130

[PATCH v2 07/23] drm/rcar-du: Split VGA encoder and connector

2013-07-31 Thread Laurent Pinchart
This prepares for the encoders rework. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/Makefile | 3 +- drivers/gpu/drm/rcar-du/rcar_du_vga.c| 86 + drivers/gpu/drm/rcar-du/rcar_du_vga.h| 2 +-

[PATCH v2 08/23] drm/rcar-du: Merge LVDS and VGA encoder code

2013-07-31 Thread Laurent Pinchart
Create a single rcar_du_encoder structure that implements a KMS encoder. The current implementation is straightforward and only configures CRTC output routing. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/Makefile | 3 +-

[PATCH v2 09/23] drm/rcar-du: Rename platform data fields to match what they describe

2013-07-31 Thread Laurent Pinchart
The struct rcar_du_encoder_data encoder::field describes the encoder type, and the rcar_du_encoder_lvds_data and rcar_du_encoder_vga_data structures describe connector properties. Rename them accordingly. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com ---

[PATCH v2 11/23] drm/rcar-du: Rename rcar_du_plane_(init|register) to rcar_du_planes_*

2013-07-31 Thread Laurent Pinchart
The functions initialize or register all planes, rename them accordingly. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 4 ++-- drivers/gpu/drm/rcar-du/rcar_du_plane.c | 4 ++-- drivers/gpu/drm/rcar-du/rcar_du_plane.h | 5

[PATCH v2 10/23] drm/rcar-du: Create rcar_du_planes structure

2013-07-31 Thread Laurent Pinchart
Move the plane-related fields of struct rcar_du_device to their own structure. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/rcar_du_drv.h | 11 +-- drivers/gpu/drm/rcar-du/rcar_du_plane.h | 17 +++-- 2 files changed,

[PATCH v2 12/23] drm/rcar-du: Introduce CRTCs groups

2013-07-31 Thread Laurent Pinchart
The R8A7779 DU is split in per-CRTC resources (scan-out engine, blending unit, timings generator, ...) and device-global resources (start/stop control, planes, ...) shared between the two CRTCs. The R8A7790 introduced a third CRTC with its own set of global resources This would be modeled as two

[PATCH v2 13/23] drm/rcar-du: Use dynamic number of CRTCs instead of CRTCs array size

2013-07-31 Thread Laurent Pinchart
The rcar_du_device structure contains a field that stores the number of CRTCs, use it instead of the CRTCs array size. This prepares the driver to support a variable number of CRTCs. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com ---

[PATCH v2 14/23] drm/rcar-du: Remove register definitions for the second channel

2013-07-31 Thread Laurent Pinchart
Channels are accessed through a global channel memory offset, there's no need to define register addresses for the second channel. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/rcar_du_regs.h | 9 - 1 file changed, 9 deletions(-)

[PATCH v2 15/23] drm/rcar-du: Move output routing configuration to group

2013-07-31 Thread Laurent Pinchart
Output routing is configured in group registers, move the corresponding code from rcar_du_crtc.c to rcar_du_group.c. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 21 +

[PATCH v2 16/23] drm/rcar-du: Add support for the R8A7790 DU

2013-07-31 Thread Laurent Pinchart
The DU revision in the R8A7790 SoC uses one IRQ and clock per CRTC. Add a corresponding entry in the module platform ID table. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 5 +++ drivers/gpu/drm/rcar-du/rcar_du_regs.h |

[PATCH v2 17/23] drm/rcar-du: Fix buffer pitch alignment for R8A7790 DU

2013-07-31 Thread Laurent Pinchart
The R8A7790 DU seems to require a 128 bytes pitch alignment, even though the documentation only mentions a 16 pixels alignement as for the R8A7779 DU. Make this configurable through a device flag. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com ---

[PATCH v2 19/23] drm/rcar-du: Add support for DEFR8 register

2013-07-31 Thread Laurent Pinchart
The R8A7790 DU has a new extended function control register. Support it. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 3 ++- drivers/gpu/drm/rcar-du/rcar_du_drv.h | 1 + drivers/gpu/drm/rcar-du/rcar_du_group.c | 2 ++ 3

[PATCH v2 18/23] drm/rcar-du: Add support for multiple groups

2013-07-31 Thread Laurent Pinchart
The R8A7790 DU has 3 CRTCs, split in two groups. Support them. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 25 ++- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 2 ++ drivers/gpu/drm/rcar-du/rcar_du_drv.h

[PATCH v2 20/23] drm/rcar-du: Rework output routing support

2013-07-31 Thread Laurent Pinchart
Split the output routing specification between SoC-internal data, specified in the rcar_du_device_info structure, and board data, passed through platform data. The DU has 5 possible outputs (DPAD0/1, LVDS0/1, TCON). SoC-internal output routing data specify which output are valid, which CRTCs can

[PATCH v2 21/23] drm/rcar-du: Configure RGB output routing to DPAD0

2013-07-31 Thread Laurent Pinchart
The R8A7790 DU variant has a single RGB output called DPAD0 that can be fed with the output of DU0, DU1 or DU2. Making the routing configurable. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 5

[PATCH v2 23/23] drm/rcar-du: Add FBDEV emulation support

2013-07-31 Thread Laurent Pinchart
Use the FB CMA helpers to implement FBDEV emulation support. The VGA connector status must be reported as connector_status_connected instead of connector_status_unknown to be usable by the emulation layer. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com ---

[PATCH v2 22/23] drm/rcar-du: Add internal LVDS encoder support

2013-07-31 Thread Laurent Pinchart
The R8A7790 includes two internal LVDS encoders. Support them in the DU driver. Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com --- drivers/gpu/drm/rcar-du/Kconfig | 7 ++ drivers/gpu/drm/rcar-du/Makefile | 4 +-

[Bug 64695] Enabling both MLAA and MLAA color 2D crashes Gnome Shell on Cayman (6950)

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64695 --- Comment #8 from Alexandre Demers alexandre.f.dem...@gmail.com --- (In reply to comment #7) This bug should be fixed with latest Mesa git now. Please confirm. I'll do as soon as the bison3 patches get pushed in the git tree. -- You are

Submitting Topics for Graphics and Display uConf at LPC 2013

2013-07-31 Thread Jesse Barker
Hi all, First off, thanks to those who have already submitted topics to the Graphics and Display microconference! For those who have not yet proposed, but plan to, please submit your topics as described here: http://www.linuxplumbersconf.org/2013/submitting-microconference-discussion-topics/

[Bug 66967] Dota 2 crashes with r600g when starting the tutorial

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66967 --- Comment #2 from Tilman Sauerbeck til...@code-monkey.de --- With a driver that was configured with --enable-texture-float, it doesn't crash in that particular spot anymore. Instead it now crashes in dota 2 beta/bin/stdshader_dx9.so.

Re: [PATCH] Fix #include in drm_mm.h to unbreak ia64 build

2013-07-31 Thread David Herrmann
Hi On Mon, Jul 29, 2013 at 8:51 PM, Luck, Tony tony.l...@intel.com wrote: Linux-next build on ia64 is falling over with errors like this: In file included from include/drm/drm_vma_manager.h:26, from include/drm/ttm/ttm_bo_api.h:35, from

[PATCH] drm/radeon: use loop for initializing AFMT blocks

2013-07-31 Thread Rafał Miłecki
Signed-off-by: Rafał Miłecki zaj...@gmail.com --- Dave/Alex: please decide who picks this patch :) --- drivers/gpu/drm/radeon/radeon_display.c | 53 ++- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_display.c

[Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works

2013-07-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60659 --- Comment #2 from Charles-Antoine Couret rena...@fedoraproject.org --- Yes : [root@DiNozzo ~]# dmesg | grep backlight [ 11.400712] nouveau [ DRM] ACPI backlight interface available, not registering our own But, if I use the option :

[Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works

2013-07-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60659 --- Comment #3 from Ilia Mirkin imir...@alum.mit.edu --- OK, but does the provided driver effectively control backlight? (i.e. writing into /sys/class/backlight/...) -- You are receiving this mail because: You are watching the assignee of the

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #33 from Scias shining.sc...@gmail.com --- Sorry I'm a bit late. My tests are a little bit different from Sergey's. Unpatched : Hangs 3/4 times - Unresponsive X - Setting battery state = corruption - Frost flicker at modeset No

[Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works

2013-07-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60659 --- Comment #4 from Charles-Antoine Couret rena...@fedoraproject.org --- With default option, after boot : [root@DiNozzo ~]# cat /sys/class/backlight/acpi_video0/brightness 20 Same conditions, after pressure of FN down brightness key :

i915 INFO: trying to register non-static key.

2013-07-31 Thread Borislav Petkov
Dudes, has anyone already reported this (happens on Linus of today + tip/master): [0.608465] Linux agpgart interface v0.103 [0.608615] [drm] Initialized drm 1.1.0 20060810 [0.612050] [drm] Memory usable by graphics device = 2048M [0.612212] i915 :00:02.0: setting latency

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #34 from Alex Deucher ag...@yahoo.com --- (In reply to comment #33) No dynamic spectrum : Boots everytime - X is okay - Setting battery state is okay - Frost flicker at modeset. What is Frost flicker at modeset.? temporary

Re: i915 backlight

2013-07-31 Thread Borislav Petkov
On Wed, Jul 31, 2013 at 06:22:52PM +0200, Borislav Petkov wrote: Dudes, has anyone already reported this (happens on Linus of today + tip/master): Oh, one more thing: I can't control the backlight anymore on this x230 with the Fn-Fx keys and this is most probably related to that recent

[Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works

2013-07-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60659 --- Comment #5 from Ilia Mirkin imir...@alum.mit.edu --- I think we're not understanding each other... you filed this bug because nouveau wasn't registering a backlight interface. I pointed out why this was and told you how to make it register one

Re: [PATCH v2] drm/gem: fix mmap vma size calculations

2013-07-31 Thread David Herrmann
Hi On Tue, Jul 30, 2013 at 9:52 AM, Sedat Dilek sedat.di...@gmail.com wrote: On Tue, Jul 30, 2013 at 9:41 AM, Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Jul 26, 2013 at 10:15 PM, Daniel Vetter dan...@ffwll.ch wrote: On Fri, Jul 26, 2013 at 12:09:32PM +0200, David Herrmann wrote: The VMA

[PATCH] drm/radeon: initialize AFMT blocks on DCE6

2013-07-31 Thread Rafał Miłecki
So far it was tested on HD7750 (DCE6) only. For DCE61 and DCE64 I assumed that amount of AFMTs equals amount of display controllers. Signed-off-by: Rafał Miłecki zaj...@gmail.com --- This patch depends on [PATCH] drm/radeon: use loop for initializing AFMT blocks ---

[Bug 67593] New: Luxology Modo crashes on 9.1.3

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67593 Priority: medium Bug ID: 67593 Assignee: dri-devel@lists.freedesktop.org Summary: Luxology Modo crashes on 9.1.3 Severity: normal Classification: Unclassified OS: All

[Bug 67593] Luxology Modo crashes on 9.1.3

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67593 --- Comment #1 from Alex Deucher ag...@yahoo.com --- Can you bisect? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list

[Bug 67593] Luxology Modo crashes on 9.1.3

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67593 --- Comment #2 from octoploid octopl...@yandex.com --- (In reply to comment #1) Can you bisect? I would prefer not to ;-). -- You are receiving this mail because: You are the assignee for the bug.

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #35 from Scias shining.sc...@gmail.com --- By frost flicker I mean that when the radeon kernel framebuffer replaces vesafb during boot the display flickers and frosts up (as it does when it's hanging) then flickers back to normal.

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #36 from Alex Deucher ag...@yahoo.com --- (In reply to comment #35) By frost flicker I mean that when the radeon kernel framebuffer replaces vesafb during boot the display flickers and frosts up (as it does when it's hanging) then

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #37 from Alex Deucher ag...@yahoo.com --- Created attachment 83392 -- https://bugs.freedesktop.org/attachment.cgi?id=83392action=edit possible frosting fix Does this patch fix the frosting issue? Use in conjunction with whatever

Re: [PATCH] drm/radeon: use loop for initializing AFMT blocks

2013-07-31 Thread Alex Deucher
On Wed, Jul 31, 2013 at 11:50 AM, Rafał Miłecki zaj...@gmail.com wrote: Signed-off-by: Rafał Miłecki zaj...@gmail.com --- Dave/Alex: please decide who picks this patch :) I think it might be easier to just assume 6 afmt blocks on all DCE4+ hardware (DCE6 too). It's makes the logic simpler in

[Bug 67593] Luxology Modo crashes on 9.1.3

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67593 octoploid octopl...@yandex.com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #38 from Scias shining.sc...@gmail.com --- Comment 34 patch works (just like Comment 29 one). Frosting fix patch doesn't work - nothing changed. (Used it with Comment 34 patch) And yes I meant suspend to ram. -- You are receiving

[Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works

2013-07-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60659 --- Comment #6 from Charles-Antoine Couret rena...@fedoraproject.org --- Ah ok… Sorry, with acpi_backlight=vendor, I have /sys/class/backlight/nv_backlight/ folder (in place of /sys/class/backlight/acpi_video0/) and write in

[Bug 60659] Backlight control interface with nouveau driver for nVidia Quadro 1000m not works

2013-07-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60659 --- Comment #7 from Ilia Mirkin imir...@alum.mit.edu --- In the larger sense of are you having a problem, yes there is a bug somewhere. But IMO it's not in the nouveau driver. Perhaps discuss this with the person on the other bug who suggested

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #39 from Scias shining.sc...@gmail.com --- Another finding : Waking up from suspend to ram only hangs if the power state is set to battery. Else it works fine. -- You are receiving this mail because: You are the assignee for the

Re: i915 backlight

2013-07-31 Thread Rafael J. Wysocki
On Wednesday, July 31, 2013 06:36:23 PM Borislav Petkov wrote: On Wed, Jul 31, 2013 at 06:22:52PM +0200, Borislav Petkov wrote: Dudes, has anyone already reported this (happens on Linus of today + tip/master): Oh, one more thing: I can't control the backlight anymore on this x230

[Bug 66940] Mobility Radeon HD 5650 doesn't resume from suspend on kernel 3.11 (linus and drm_next)

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66940 --- Comment #5 from Bernhard Held berny...@gmx.de --- I've got a HD 5450 and can't resume with 3.10 or 3.11 as soon as I install CYPRESS_uvd.bin from http://people.freedesktop.org/~agd5f/radeon_ucode/. There seems to be an oops during suspend,

[Bug 66963] r600: linux 3.11RC isn't booting with radeon.dpm=1 option in grub

2013-07-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #40 from Alex Deucher ag...@yahoo.com --- Created attachment 83397 -- https://bugs.freedesktop.org/attachment.cgi?id=83397action=edit possible fix I think I may have found the issue. Can you guys try this patch by itself? -- You

[RFC] drm: add flip-work helper

2013-07-31 Thread Rob Clark
A small helper to queue up work to do, from workqueue context, after a flip. Typically useful to defer unreffing buffers that may be read by the display controller until vblank. Signed-off-by: Rob Clark robdcl...@gmail.com --- I've re-inventing the same wheel three times in as many drivers

Re: [PATCH] drm/radeon: use loop for initializing AFMT blocks

2013-07-31 Thread Rafał Miłecki
2013/7/31 Alex Deucher alexdeuc...@gmail.com: On Wed, Jul 31, 2013 at 11:50 AM, Rafał Miłecki zaj...@gmail.com wrote: Signed-off-by: Rafał Miłecki zaj...@gmail.com --- Dave/Alex: please decide who picks this patch :) I think it might be easier to just assume 6 afmt blocks on all DCE4+

<    1   2