Re: [PATCH v4 1/4] backlight: introduce backlight_device_registered

2013-10-10 Thread Rafael J. Wysocki
On Tuesday, October 08, 2013 02:39:58 PM Aaron Lu wrote: > Introduce a new API for modules to query if a specific type of backlight > device has been registered. This is useful for some backlight device > provider module(e.g. ACPI video) to know if a native control > interface(e.g. the interface cr

Re: [PATCH v4 1/4] backlight: introduce backlight_device_registered

2013-10-10 Thread Rafael J. Wysocki
On Thursday, October 10, 2013 08:54:29 AM Aaron Lu wrote: > On 10/10/2013 08:25 AM, Rafael J. Wysocki wrote: > > On Tuesday, October 08, 2013 02:39:58 PM Aaron Lu wrote: > >> Introduce a new API for modules to query if a specific type of backlight > >> device has been registered. This is useful for

Re: [PATCH v2 1/2] anon_inodes: allow external inode allocations

2013-10-10 Thread Al Viro
On Wed, Oct 02, 2013 at 01:24:25PM +0200, David Herrmann wrote: > DRM core shares a single address_space across all inodes that belong to > the same DRM device. This allows efficient unmapping of user-space > mappings during buffer eviction. However, there is no easy way to get a > shared address_s

Re: [PATCH 3/5] drm/bridge: Add PTN3460 bridge driver

2013-10-10 Thread Mark Brown
On Fri, Oct 04, 2013 at 11:05:48AM +0900, Inki Dae wrote: > 2013/10/4 Olof Johansson : > > "If PD_N is LOW, then the device is in Deep power-down completely, > > even if supply rail is ON; for the device to be able to operate, the > > PD_N pin must be HIGH." > I still think the pin could be repla

Re: [PATCH v4 1/4] backlight: introduce backlight_device_registered

2013-10-10 Thread Aaron Lu
On 10/10/2013 08:25 AM, Rafael J. Wysocki wrote: > On Tuesday, October 08, 2013 02:39:58 PM Aaron Lu wrote: >> Introduce a new API for modules to query if a specific type of backlight >> device has been registered. This is useful for some backlight device >> provider module(e.g. ACPI video) to know

Re: [PATCH v4 3/4] ACPI / video: Do not register backlight if win8 and native interface exists

2013-10-10 Thread Aaron Lu
On 10/10/2013 08:29 AM, Rafael J. Wysocki wrote: > On Tuesday, October 08, 2013 02:40:00 PM Aaron Lu wrote: >> According to Matthew Garrett, "Windows 8 leaves backlight control up >> to individual graphics drivers rather than making ACPI calls itself. >> There's plenty of evidence to suggest that t

Re: [PATCH v4 1/4] backlight: introduce backlight_device_registered

2013-10-10 Thread Aaron Lu
On 10/10/2013 12:29 PM, Jani Nikula wrote: > On Thu, 10 Oct 2013, Aaron Lu wrote: >> On 10/10/2013 08:25 AM, Rafael J. Wysocki wrote: >>> On Tuesday, October 08, 2013 02:39:58 PM Aaron Lu wrote: +bool backlight_device_registered(enum backlight_type type) +{ + bool found = false; >>

[PATCH] drm/nouveau: do not map evicted bo's in nouveau_bo_vma_add

2013-10-10 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst Cc: # v3.7+ --- diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c --- a/drivers/gpu/drm/nouveau/nouveau_bo.c +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c @@ -1551,7 +1579,8 @@ nouveau_bo_vma_add(struct nouveau_bo *nvbo, struc

[Bug 70327] Casting floating point variable to integer not working properly while constant gets converted properly

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=70327 --- Comment #11 from tony.wasse...@dolphin-emu.org --- I can confirm that the patch fixes the issue, thanks :) -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel ma

Re: [TIP] Catalyst / fglrx and DVI to HDMI adapters (audio)

2013-10-10 Thread Christian König
I already suspected that AMD (ATI at that time) had a very good reason to use this E2PROM to avoid problem with classic DVI monitors (instead of the wide spread explanation to gain world domination with it). It's just that an option to override it would have been nice. Well, I'm not so depth i

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69395 Mike Lothian changed: What|Removed |Added CC||m...@fireburn.co.uk --- Comment #7 from M

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69395 --- Comment #8 from Mike Lothian --- Or maybe I should ask does this big affect more than just SI? -- You are receiving this mail because: You are the assignee for the bug. ___ dri-devel mailing list

[Bug 68792] Problems during playback of h264 files using UVD and VLC on AMD E-350 CPU

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68792 --- Comment #7 from Grigori Goronzy --- (In reply to comment #6) > (In reply to comment #5) > > You have to enable VDPAU output as well. > > Sorry, but where and how? > In VLC? > *.conf file? > In preferences go to the "Video" tab and select VD

[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68451 --- Comment #30 from Marek Olšák --- Is there any performance regression? If there isn't, I'm okay with the revert. -- You are receiving this mail because: You are the assignee for the bug. ___ dri-de

[Bug 64225] bfgminer --scyte generates Segmentation Fault on Northern Island

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64225 --- Comment #7 from Alexey Shvetsov --- IT still failes with 0x7fe5003bfc10: i32 = GlobalAddress*, <4 x i32>*, <4 x i32>, <4 x i32>, <4 x i32>, <4 x i32>)* @SHA256> 0 [ORD=6879] Stack dump: 0. Running pass 'Function Pass Manager' on module

RE: [PATCH 3/5] drm/bridge: Add PTN3460 bridge driver

2013-10-10 Thread Inki Dae
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Thursday, October 10, 2013 6:37 PM > To: Inki Dae > Cc: 'Olof Johansson'; 'Sean Paul'; devicet...@vger.kernel.org; linux- > samsung-...@vger.kernel.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org;

[PATCH] only try to find radeon IGP ROM on X86

2013-10-10 Thread Meelis Roos
To prevent hangs on non-PC machines (e.g. sparc64), probe Radeon ROM from ATI IGP only on X86. Fixes hang in this place and allows PCI radeon detection to move on to next problem. Signed-off-by: Meelis Roos diff --git a/drivers/gpu/drm/radeon/radeon_bios.c b/drivers/gpu/drm/radeon/radeon_bios

Re: [PATCH v4 3/4] ACPI / video: Do not register backlight if win8 and native interface exists

2013-10-10 Thread Rafael J. Wysocki
On Thursday, October 10, 2013 09:02:55 AM Aaron Lu wrote: > On 10/10/2013 08:29 AM, Rafael J. Wysocki wrote: > > On Tuesday, October 08, 2013 02:40:00 PM Aaron Lu wrote: > >> According to Matthew Garrett, "Windows 8 leaves backlight control up > >> to individual graphics drivers rather than making

[PATCH] drm: add support for additional stereo 3D modes

2013-10-10 Thread Thomas Wood
Parse the 3D_Structure_ALL and 3D_MASK fields of the HDMI Vendor Specific Data Block to expose more stereo 3D modes. Signed-off-by: Thomas Wood --- drivers/gpu/drm/drm_edid.c | 93 ++ 1 file changed, 85 insertions(+), 8 deletions(-) diff --git a/drive

[PATCH 02/11] staging: drm/imx: make struct ipu_rgb format definitions const

2013-10-10 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipu-v3/imx-ipu-v3.h | 2 +- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/imx-drm/ipu-v3/imx-ipu-v3.h b/drivers/staging/imx-drm/ipu-v3/imx-ipu

[PATCH 0/11] i.MX RGB565, plane and PRIME support

2013-10-10 Thread Philipp Zabel
Hi, This series fixes DMFC allocation for small displays and pageflip events during device close, clarifies the RGB memory formats, adds support for the RGB565 format and KMS planes, and enables DRM PRIME using the CMA helpers. In the next step, I would like to move the code from drivers/staging/

[PATCH 03/11] staging: drm/imx: fix RGB formats, make ipu_cpmem_set_fmt take a drm_fourcc

2013-10-10 Thread Philipp Zabel
The drm fourccs define formats not available as video4linux pixel formats, such as DRM_FORMAT_BGR565, or the DRM_FORMAT_RGBX/BGRX variants. Also, contrary to the v4l2 formats, the drm formats are well defined. This patch also fixes the BGRA32 and RGB/RGB24 internal formats to use a common internal

[PATCH 04/11] staging: drm/imx: add BGR565 format

2013-10-10 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipu-v3/ipu-common.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-common.c b/drivers/staging/imx-drm/ipu-v3/ipu-common.c index 54466df..f90bdb4 100644 --- a/drivers/staging/imx-drm/ipu-

[PATCH 06/11] staging: drm/imx: make waiting for idle channel optional

2013-10-10 Thread Philipp Zabel
From: Sascha Hauer Currently we wait for a channel until it's idle before actually disabling it. This is not needed for all channels though, so make waiting for idle a separate function and call it where necessary. Signed-off-by: Sascha Hauer Signed-off-by: Philipp Zabel --- drivers/staging/i

[PATCH 07/11] staging: drm-imx: add DRM_FORMAT_BGR888 to ipu crtc driver

2013-10-10 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipuv3-crtc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/imx-drm/ipuv3-crtc.c b/drivers/staging/imx-drm/ipuv3-crtc.c index 574633b..f63931b 100644 --- a/drivers/staging/imx-drm/ipuv3-crtc.c +++ b/drivers/staging

[PATCH 08/11] staging: drm/imx: ipuv3-crtc: remove unused struct ipu_framebuffer

2013-10-10 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipuv3-crtc.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/imx-drm/ipuv3-crtc.c b/drivers/staging/imx-drm/ipuv3-crtc.c index f63931b..292abea 100644 --- a/drivers/staging/imx-drm/ipuv3-crtc.c +++ b/drivers/stagi

[PATCH 09/11] staging: drm/imx: fix pageflip events during device close

2013-10-10 Thread Philipp Zabel
From: Sascha Hauer During a device close the drm core frees all pending events in drm_events_release(). If at that time a pageflip is pending the interrupt handler will try to complete the now unitialized event resulting in a NULL pointer exception. Seen on imx-drm when userspace is killed during

[PATCH 11/11] staging: drm/imx: Enable DRM PRIME support

2013-10-10 Thread Philipp Zabel
Lets the IPU driver make use of the PRIME functionality introduced by the "drm: GEM CMA: Add DRM PRIME support" patch. Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/imx-drm-core.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/staging/imx-drm/i

[PATCH 05/11] staging: drm/imx: Add 24-bit BGR support to DC

2013-10-10 Thread Philipp Zabel
Signed-off-by: Philipp Zabel --- drivers/staging/imx-drm/ipu-v3/ipu-dc.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-dc.c b/drivers/staging/imx-drm/ipu-v3/ipu-dc.c index 21bf1c8..1a6e06d 100644 --- a/drivers/staging/imx-drm/ipu-v3/ipu-dc.c +++

[PATCH 10/11] staging: drm/imx: add drm plane support

2013-10-10 Thread Philipp Zabel
This patch adds support for a drm overlay plane on DI0 using the DP. In principle, the overlay plane could also be used on DI1, but to switch the overlay plane between display interfaces, the base planes would have to be exchanged transparently while both display interfaces are inactive. Signed-of

[PATCH 01/11] staging: drm/imx: also allow to allocate only 2 DMFC slots for DP full plane

2013-10-10 Thread Philipp Zabel
Connecting a 320x240 parallel display on i.MX6 resulted in an invalid DRDY signal because the DC would not receive NL/EOL events on every line. Reducing the allocated DMFC space from 4 slots (256 * 128-bit) to 2 slots (128 * 128-bit) solved the problem. Signed-off-by: Philipp Zabel --- drivers/s

Re: [PATCH] only try to find radeon IGP ROM on X86

2013-10-10 Thread Alex Deucher
On Thu, Oct 10, 2013 at 7:51 AM, Meelis Roos wrote: > To prevent hangs on non-PC machines (e.g. sparc64), probe Radeon ROM > from ATI IGP only on X86. Fixes hang in this place and allows PCI radeon > detection to move on to next problem. NACK. All this function does it attempt to read the rom fr

Re: [pull] radeon drm-fixes-3.12

2013-10-10 Thread Alex Deucher
On Thu, Oct 10, 2013 at 1:39 AM, Rafał Miłecki wrote: > 2013/10/10 Alex Deucher : >> drm/radeon: use hw generated CTS/N values for audio > > I'd like to see such patches earlier :| I'm OK with the change for > DCE4+ (Evergreen) (I even suggested that change myself recently), but > I didn't h

Re: [TIP] Catalyst / fglrx and DVI to HDMI adapters (audio)

2013-10-10 Thread Matt Sealey
On Thu, Oct 10, 2013 at 4:30 AM, Christian König wrote: > I already suspected that AMD (ATI at that time) had a very good reason to > use this E2PROM to avoid problem with classic DVI monitors (instead of the > wide spread explanation to gain world domination with it). Indeed.. it may also not be

Re: [pull] radeon drm-fixes-3.12

2013-10-10 Thread Rafał Miłecki
2013/10/10 Alex Deucher : > On Thu, Oct 10, 2013 at 1:39 AM, Rafał Miłecki wrote: >> 2013/10/10 Alex Deucher : >>> drm/radeon: use hw generated CTS/N values for audio >> >> I'd like to see such patches earlier :| I'm OK with the change for >> DCE4+ (Evergreen) (I even suggested that change m

Re: [PATCH] only try to find radeon IGP ROM on X86

2013-10-10 Thread Meelis Roos
> On Thu, Oct 10, 2013 at 7:51 AM, Meelis Roos wrote: > > To prevent hangs on non-PC machines (e.g. sparc64), probe Radeon ROM > > from ATI IGP only on X86. Fixes hang in this place and allows PCI radeon > > detection to move on to next problem. > > NACK. All this function does it attempt to rea

Re: [pull] radeon drm-fixes-3.12

2013-10-10 Thread Alex Deucher
On Thu, Oct 10, 2013 at 10:50 AM, Rafał Miłecki wrote: > 2013/10/10 Alex Deucher : >> On Thu, Oct 10, 2013 at 1:39 AM, Rafał Miłecki wrote: >>> 2013/10/10 Alex Deucher : drm/radeon: use hw generated CTS/N values for audio >>> >>> I'd like to see such patches earlier :| I'm OK with the

Re: [pull] radeon drm-fixes-3.12

2013-10-10 Thread Rafał Miłecki
2013/10/10 Alex Deucher : > Attached. I'll send an updated pull request with the patch added. Thanks! I promise to work on that, it just takes time to gather so old hardware and run it (especially fglrx). -- Rafał ___ dri-devel mailing list dri-devel@

[Bug 66452] JUNIPER UVD accelerated playback of WMV3 streams does not work

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66452 --- Comment #5 from Eugene Shalygin --- Since commit 5b4e2db12d9b45e898a8eb6599d928504ffd30c3 disabled VC-1 simple/main profiles for UVD 3, maybe it might have sense to disable it for UVD 2 also? VC-1 advanced profile seems to be working fin

Re: [PATCH] only try to find radeon IGP ROM on X86

2013-10-10 Thread Alex Deucher
On Thu, Oct 10, 2013 at 11:26 AM, Meelis Roos wrote: >> On Thu, Oct 10, 2013 at 7:51 AM, Meelis Roos wrote: >> > To prevent hangs on non-PC machines (e.g. sparc64), probe Radeon ROM >> > from ATI IGP only on X86. Fixes hang in this place and allows PCI radeon >> > detection to move on to next pro

[Bug 62721] GPU lockup: radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec...

2013-10-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=62721 --- Comment #5 from William Shuman --- I noticed the same behavior, but it was only reproducible for me when I was calling wmname before launching a java application to correct some usability issues. Attaching dmesg output. -- You are receiving

[Bug 62721] GPU lockup: radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec...

2013-10-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=62721 --- Comment #6 from William Shuman --- Created attachment 110671 --> https://bugzilla.kernel.org/attachment.cgi?id=110671&action=edit full dmesg output -- You are receiving this mail because: You are watching the assignee of the bug. _

Re: [pull] radeon drm-fixes-3.12

2013-10-10 Thread Alex Deucher
On Wed, Oct 9, 2013 at 6:10 PM, Alex Deucher wrote: > Hi Dave, > > More radeon fixes for 3.12. Regression fixes for audio and UVD, several > hang fixes, and some dpm fixes. Hi Dave, Please pull from the branch again. The only change is the addition of the patch discussed below with Rafał. com

[Bug 64600] r600g pyrit OpenCL issue on HD6850

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64600 --- Comment #12 from Tom Stellard --- These patches should fix the crash on Evergreen/NI GPUs: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20131007/190695.html -- You are receiving this mail because: You are the assignee for the

[PATCH] drm/ttm: Allow vm fault retries

2013-10-10 Thread Thomas Hellstrom
Make use of the FAULT_FLAG_ALLOW_RETRY flag to allow dropping the mmap_sem while waiting for bo idle. FAULT_FLAG_ALLOW_RETRY appears to be primarily designed for disk waits but should work just as fine for GPU waits.. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_bo_vm.c | 62 ++

[PATCH] drm/ttm: Make NO_EVICT bos available to shrinkers pending destruction

2013-10-10 Thread Thomas Hellstrom
NO_EVICT bos that are not idle when all references are dropped are put on the delayed destroy list. However, since they are not on LRU lists, they are not available to shrinkers at that point, and buffers on the delayed destroy list are not checked very often for idle. So when these buffers are pu

[Bug 64600] r600g pyrit OpenCL issue on HD6850

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64600 --- Comment #13 from Tom Stellard --- (In reply to comment #12) > These patches should fix the crash on Evergreen/NI GPUs: > http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20131007/190695. > html These patches won't apply to llvm ma

[Bug 60791] Display corruption with Radeon driver during boot and on desktop

2013-10-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60791 Dragos Taranu changed: What|Removed |Added CC||dragos...@gmail.com --- Comment #33 from

Linux Plumbers Android+Graphics microconf summary

2013-10-10 Thread John Stultz
Hey Everyone, I just wanted to thank once again, all the folks who were able to attend and participate at the Android+Graphics discussion at Plumbers. For those who could not attend, A free-link to my summary on LWN is here: http://lwn.net/SubscriberLink/569704/a20145dcfbaf70f1/ Hopefully

[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68451 --- Comment #31 from Dieter Nützel --- Marek, you ask about, so... If I'm right, I see some on my poor RV730 AGP under git, but not with Dota2 or the like 'cause I haven't such stuff. I see it with Q3A demo (my old testing one) and mesa-demos/ o

[PATCH] drm/radeon/atom: workaround vbios bug in transmitter table on rs780

2013-10-10 Thread Alex Deucher
Some rs780 asics seem to be affected as well. See: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=91f3a6aaf280294b07c05dfe606e6c27b7ba3c72 to rs780 as well. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=60791 Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org

[Bug 60639] RV635: Kernel displays black screen when monitor is connect via DisplayPort

2013-10-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=60639 --- Comment #13 from Alex Deucher --- Created attachment 110691 --> https://bugzilla.kernel.org/attachment.cgi?id=110691&action=edit possible fix Does the attached patch help? -- You are receiving this mail because: You are watching the assig

[PATCH 1/2] drm/radeon/atom: don't call [EN|DIS]ABLE_OUTPUT on DCE3.x

2013-10-10 Thread Alex Deucher
The plain [EN|DIS]ABLE functions do the same thing and more and aren't broken on some systems like [EN|DIS]ABLE_OUTPUT. May fix: https://bugzilla.kernel.org/show_bug.cgi?id=60639 Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_encoders.c | 8 1 file changed, 8 deletions

[PATCH 2/2] drm/radeon/atom: don't call [EN|DIS]ABLE_OUTPUT on DCE4.x

2013-10-10 Thread Alex Deucher
The plain [EN|DIS]ABLE functions do the same thing and more and aren't broken on some systems like [EN|DIS]ABLE_OUTPUT. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_encoders.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/gpu/drm/radeon/atom

Re: Linux Plumbers Android+Graphics microconf summary

2013-10-10 Thread Daniel Vetter
On Thu, Oct 10, 2013 at 01:07:58PM -0700, John Stultz wrote: > ADF: > > * Rob has reposted his atomic modesetting patches, which helps adress > part of some of the issues Greg tried to resolve with ADF, although > there still is the delta vs full update issue. > http://www.spinics.net/lists/dr

[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68451 --- Comment #32 from Alexandre Demers --- (In reply to comment #30) > Is there any performance regression? If there isn't, I'm okay with the > revert. Marek, do you have any application you propose that I could use to benchmark it? I'll gladly g

[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68451 --- Comment #33 from Alex Deucher --- (In reply to comment #27) > fun observation: > > Instead of reverting, setting this at the end of r600_cp_dma_copy_buffer() > appears to fix it for me: > rctx->b.flags |= R600_CONTEXT_INV_VERTEX_CACHE; >

[Bug 63997] Artifacts using a HD7480D on a A4-5300 APU

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63997 --- Comment #25 from Mirko --- (In reply to comment #24) > It was against my drm-fixes tree, but it should apply pretty easily to most > kernels. Unfortunately the problem seems to be the same. Patched linux kernel 3.11.1 Xorg server 1.14 Mesa

Re: [PATCH 2/5] DRM: Armada: Add Armada DRM driver

2013-10-10 Thread Rob Clark
On Sun, Oct 6, 2013 at 6:08 PM, Russell King wrote: > This patch adds support for the pair of LCD controllers on the Marvell > Armada 510 SoCs. This driver supports: > - multiple contiguous scanout buffers for video and graphics > - shm backed cacheable buffer objects for X pixmaps for Vivante GP

[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68451 --- Comment #34 from Alexandre Demers --- (In reply to comment #33) > (In reply to comment #27) > > fun observation: > > > > Instead of reverting, setting this at the end of r600_cp_dma_copy_buffer() > > appears to fix it for me: > > rctx->b

Re: Linux Plumbers Android+Graphics microconf summary

2013-10-10 Thread Rob Clark
On Thu, Oct 10, 2013 at 5:09 PM, Daniel Vetter wrote: >> * Rob has reposted his atomic modesetting patches, which helps adress >> part of some of the issues Greg tried to resolve with ADF, although >> there still is the delta vs full update issue. >> http://www.spinics.net/lists/dri-devel/msg4

[PATCH] intel: Set bo size from lseek if kernel supports it

2013-10-10 Thread Kristian Høgsberg
The various create and open functions set the buffer size, but drm_intel_bo_gem_create_from_prime() is an exception. In the 3.12 kernel we can now use lseek on the prime fd to determine the size of the bo. Use that and override the userprovided size. If the kernel doesn't support this, we get an

Re: [PATCH 2/5] DRM: Armada: Add Armada DRM driver

2013-10-10 Thread Rob Clark
On Thu, Oct 10, 2013 at 5:59 PM, Russell King - ARM Linux wrote: > On Thu, Oct 10, 2013 at 05:25:15PM -0400, Rob Clark wrote: >> On Sun, Oct 6, 2013 at 6:08 PM, Russell King >> wrote: >> > + /* >> > +* If we have an overlay plane associated with this CRTC, disable >> > +* it

[PATCH v3 0/5] Add some missing bits for exynos5250-snow

2013-10-10 Thread Sean Paul
This set adds some missing devicetree nodes to the exynos5250-snow file as well as adds a drm_bridge driver for the ptn3460 DP-LVDS chip. This chip is used in the exynos5250-snow board. Sean Sean Paul (5): ARM: dts: Add fimd display-timings for exynos5250-snow ARM: dts: Add dp-controller node

[PATCH v3 1/5] ARM: dts: Add fimd display-timings for exynos5250-snow

2013-10-10 Thread Sean Paul
This patch adds the internal panel timings to the exynos5250-snow board dts file. Signed-off-by: Sean Paul --- v2: No difference v3: Added status = "okay" arch/arm/boot/dts/exynos5250-snow.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-

[PATCH v3 2/5] ARM: dts: Add dp-controller node to exynos5250-snow

2013-10-10 Thread Sean Paul
This patch adds the dp-controller node to the exynos5250-snow board dts file. Signed-off-by: Sean Paul --- v2: Added dp-controller address to node (rebased on linux-next) v3: Added status = "okay" arch/arm/boot/dts/exynos5250-snow.dts | 13 + 1 file changed, 13 insertions(+) diff

[PATCH v3 3/5] drm/bridge: Add PTN3460 bridge driver

2013-10-10 Thread Sean Paul
This patch adds a drm_bridge driver for the PTN3460 DisplayPort to LVDS bridge chip. Signed-off-by: Sean Paul --- v2: - Changed header definition to static inline - Changed dt node name to lvds-bridge v3: No changes .../devicetree/bindings/drm/bridge/ptn3460.txt | 27 ++

[PATCH v3 4/5] drm/exynos: Initialize ptn3460 if present

2013-10-10 Thread Sean Paul
This patch adds code to look for the ptn3460 in the device tree file on exynos initialization. If ptn node is found, the driver will initialize the ptn3460 driver and skip creating a DP connector (since the bridge driver will register its own connector). Signed-off-by: Sean Paul --- v2:

[PATCH v3 5/5] ARM: dts: Add ptn3460 to exynos5250-snow

2013-10-10 Thread Sean Paul
This patch adds a node for the ptn3460 DP-LVDS chip in the exynos5250-snow board dts file. Signed-off-by: Sean Paul --- v2: Changed node name to lvds-bridge v3: No changes arch/arm/boot/dts/exynos5250-snow.dts | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/bo

[Bug 69395] [DPM] Forcing lowest power state when no display is attached is bad because of OpenCL

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69395 --- Comment #9 from Alex Deucher --- It's in my 3.13-next branch: http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.13-wip -- You are receiving this mail because: You are the assignee for the bug. __

[Bug 68451] Texture flicker in native Dota2 in mesa 9.2.0rc1

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68451 --- Comment #35 from Marek Olšák --- Feel free to do some benchmarking if you want. The question is why this code at the end of the function didn't set one of the flush flags: r600_flag_resource_cache_flush(rctx, dst); Constants are usually re

[Bug 67107] Xorg starts and crashes with DPM enable

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67107 Adam Honse changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug 67107] Xorg starts and crashes with DPM enable

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67107 --- Comment #15 from Alex Deucher --- Does this branch work any better? http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.13-wip please also try cherry-picking this commit as well: http://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-f

Re: [PATCH] intel: Set bo size from lseek if kernel supports it

2013-10-10 Thread Daniel Vetter
On Thu, Oct 10, 2013 at 03:07:01PM -0700, Kristian Høgsberg wrote: > The various create and open functions set the buffer size, but > drm_intel_bo_gem_create_from_prime() is an exception. In the 3.12 kernel > we can now use lseek on the prime fd to determine the size of the bo. > Use that and over

[Bug 67107] Xorg starts and crashes with DPM enable

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67107 --- Comment #16 from Adam Honse --- VGA switcheroo doesn't show up for me. I've been using kernels from Ubuntu's kernel ppa (daily and -rc builds) but I'll try building my own from your tree and see if that fixes it. -- You are receiving this

Re: [PATCH 2/5] DRM: Armada: Add Armada DRM driver

2013-10-10 Thread Rob Clark
On Thu, Oct 10, 2013 at 6:53 PM, Russell King - ARM Linux wrote: > On Thu, Oct 10, 2013 at 06:23:26PM -0400, Rob Clark wrote: >> On Thu, Oct 10, 2013 at 5:59 PM, Russell King - ARM Linux >> wrote: >> > On Thu, Oct 10, 2013 at 05:25:15PM -0400, Rob Clark wrote: >> >> probably this thread is applic

[PATCH 00/23] drm/exynos: Refactor parts of the exynos driver

2013-10-10 Thread Sean Paul
This patchset refactors parts of the exynos driver to move it closer to a proper drm driver (rather than just implementing a drm layer on top of the hardware drivers). The hope is to get to a point where the dp/hdmi drivers can implement drm_connector/drm_encoder directly, and fimd/mixer can direct

[PATCH 01/23] drm/exynos: Remove useless slab.h include

2013-10-10 Thread Sean Paul
From: Stéphane Marchesin Signed-off-by: Stéphane Marchesin Signed-off-by: Sean Paul --- drivers/video/exynos/exynos_dp_core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/exynos/exynos_dp_core.c b/drivers/video/exynos/exynos_dp_core.c index 12bbede..089ae22 100644 --- a/dr

[PATCH 02/23] drm/exynos: Merge overlay_ops into manager_ops

2013-10-10 Thread Sean Paul
This patch merges overlay_ops into manager_ops. In all cases, overlay_ops is implemented in the same place as manager ops, it doesn't serve a functional purpose, and doesn't make things more clear. Signed-off-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_drv.h | 29 +-- drivers/gpu/dr

[PATCH 03/23] drm/exynos: Add an initialize function to manager and display

2013-10-10 Thread Sean Paul
This patch adds an initialize function to the manager and display operations. This allows them to keep track of drm_device in their local context, as well as adds an initialization hook right after the encoder is created. Signed-off-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_drv.h |

[PATCH 05/23] drm/exynos: hdmi: Implement initialize op for hdmi

2013-10-10 Thread Sean Paul
This patch implements the initialize callback in the hdmi and mixer manager. This allows us to get rid of drm_dev in the drm_hdmi level and track it in the mixer and hdmi drivers. This is one of the things holding back the complete removal of the drm_hdmi layer. Signed-off-by: Sean Paul --- driv

[PATCH 04/23] drm/exynos: Use manager_op initialize in fimd

2013-10-10 Thread Sean Paul
This patch implements the intitialize manager op in fimd. Signed-off-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_f

[PATCH 06/23] drm/exynos: Pass context in manager ops instead of dev

2013-10-10 Thread Sean Paul
This patch changes the manager ops callbacks from accepting the subdrv device pointer to taking a context pointer. This will allow us to move closer to decoupling manager/display from subdrv, and subsequently decoupling the crtc/plane from the encoder. Signed-off-by: Sean Paul --- drivers/gpu/dr

[PATCH 07/23] drm/exynos: Pass context in display_ops instead of dev

2013-10-10 Thread Sean Paul
This patch changes the argument of the display_ops from subdrv device to context. This will allow us to decouple manager and display from subdrv, as well as decouple crtc from encoder. Signed-off-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_connector.c | 8 +++ drivers/gpu/drm/exynos

[PATCH 09/23] drm/exynos: Rename display_op power_on to dpms

2013-10-10 Thread Sean Paul
This patch renames the display_op power_on to dpms to accurately reflect what the function does. The side-effect of this patch is that the new hdmi dpms callback is now invoked twice in the dpms path. This is safe and will be dealt with when the exynos_drm shim goes away. Signed-off-by: Sean Paul

[PATCH 10/23] drm/exynos: Don't keep dpms state in encoder

2013-10-10 Thread Sean Paul
This patch removes the dpms state tracking in encoder. This state is at best confusing and at worst incorrect since the display drivers can turn on and off without propagating the value. Signed-off-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_encoder.c | 18 -- 1 file chan

[PATCH 11/23] drm/exynos: Use unsigned long for possible_crtcs

2013-10-10 Thread Sean Paul
Change all instances of possible_crtcs in the exynos drm driver to be unsigned long. This matches the type used in the drm layer. Signed-off-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_encoder.c | 2 +- drivers/gpu/drm/exynos/exynos_drm

[PATCH 13/23] drm/exynos: hdmi: remove the i2c drivers and use devtree

2013-10-10 Thread Sean Paul
From: Daniel Kurtz The i2c client was previously being passed into the hdmi driver via a dedicated i2c driver, and then a global variable. This patch removes all of that and just uses the device tree to get the i2c_client. This patch also properly references the client so we don't lose it before

[PATCH 15/23] drm/exynos: Use drm_mode_copy to copy modes

2013-10-10 Thread Sean Paul
This patch changes the manual copying of mode to adjusted_mode in mode_fixup to use drm_mode_copy instead of handling things manually. Signed-off-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_hdmi.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpu/drm/e

[PATCH 08/23] drm/exynos: Remove dpms link between encoder/connector

2013-10-10 Thread Sean Paul
This patch removes the call from encoder dpms into connector dpms (which will then call back into encoder dpms through the helper function). The callback is likely to keep connector->dpms in the right state when initiating dpms from crtc or encoder, but this isn't the right way to do it. This patch

[PATCH 14/23] drm/exynos: Remove exynos_drm_hdmi shim

2013-10-10 Thread Sean Paul
This patch trims exynos_drm_hdmi out of the driver. The reason it existed in the first place was to make up for the mixture of display/overlay/manager ops being spread across hdmi and mixer. With that code now rationalized, mixer and hdmi map directly to exynos_drm_crtc and exynos_drm_encoder, resp

[PATCH 16/23] drm/exynos: Disable unused crtc planes from crtc

2013-10-10 Thread Sean Paul
This patch moves the code which disables unused crtc planes from the encoder to the crtc. Since there is a 1:1 encoder/crtc mapping in exynos, the only valid crtc change the pre-existing code could catch is disconnecting an active crtc from the encoder. Thus it is functionally equivalent to just di

[PATCH 17/23] drm/exynos: Add mode_set manager operation

2013-10-10 Thread Sean Paul
This patch adds a mode_set callback to the manager operations which sets the crtc's current mode to the manager driver. Signed-off-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 4 drivers/gpu/drm/exynos/exynos_drm_drv.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/

[PATCH 18/23] drm/exynos: Implement mode_fixup manager operation

2013-10-10 Thread Sean Paul
This patch adds a new manager callback for mode_fixup and pipes it through exynos_drm_crtc. Signed-off-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_crtc.c | 8 +++- drivers/gpu/drm/exynos/exynos_drm_drv.h | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH 19/23] drm/exynos: Use mode_set to configure fimd

2013-10-10 Thread Sean Paul
This patch uses the mode passed into mode_set to configure fimd instead of directly using the panel from context. This will allow us to move the exynos_drm_display implementation from fimd into the DP driver where it belongs. Signed-off-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_fimd.c

[PATCH 20/23] drm/exynos: Remove unused/useless fimd_context members

2013-10-10 Thread Sean Paul
This patch removes a few fimd_context members which are either entirely unused or unneeded. Signed-off-by: Sean Paul --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/

[PATCH 22/23] drm/exynos: Move display implementation into dp

2013-10-10 Thread Sean Paul
This patch moves the exynos_drm_display implementation from fimd into the dp driver. This will allow for tighter integration of the dp driver into the exynos drm driver. Signed-off-by: Sean Paul --- .../devicetree/bindings/video/exynos_dp.txt| 17 +++ .../devicetree/bindings/video/samsu

[PATCH 23/23] ARM: dts: Move display-timings node from fimd to dp

2013-10-10 Thread Sean Paul
This patch moves the display-timings node from fimd to dp to reflect the device tree bindings change. Signed-off-by: Sean Paul --- arch/arm/boot/dts/exynos5250-arndale.dts | 7 --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 7 --- arch/arm/boot/dts/exynos5250-snow.dts | 7 ---

[PATCH] qxl: add a connector property to denote hotplug should rescan modes.

2013-10-10 Thread Dave Airlie
From: Dave Airlie So GNOME userspace has an issue with when it rescans for modes on hotplug events, if the monitor has no EDID it assumes that nothing has changed on EDID as with real hw we'd never have new modes without a new EDID, and they kind off rely on the behaviour now, however with virtua

[Bug 68792] Problems during playback of h264 files using UVD and VLC on AMD E-350 CPU

2013-10-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=68792 --- Comment #8 from Dieter Nützel --- (In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #5) > > > You have to enable VDPAU output as well. > > > > Sorry, but where and how? > > In VLC? > > *.conf file? > > > > In pref

  1   2   >