Re: [RFC PATCH xserver] modesetting: re-set the crtc's mode when link-status goes BAD

2017-04-02 Thread Manasi Navare
On Sun, Apr 02, 2017 at 07:21:09PM -0700, Eric Anholt wrote: > Daniel Vetter writes: > > > On Fri, Mar 31, 2017 at 05:22:09PM -0700, Eric Anholt wrote: > >> Manasi Navare writes: > >> > >> > On Fri, Mar 31, 2017 at 01:08:41PM -0700, Eric Anholt wrote: > >> >> Manasi Navare writes: > >> >> > >

[PATCH 2/6 v2] drm/nouveau: Pin bos from imported dma-bufs to GTT. (v2)

2017-04-02 Thread raof
From: Christopher James Halse Rogers Attempting to migrate the bo will break the sharing of the buffer. v2: Error-check the nouveau_bo_pin call; it can fail. Signed-off-by: Christopher James Halse Rogers --- drivers/gpu/drm/nouveau/nouveau_prime.c | 6 ++ 1 file changed, 6 insertions(+)

[Bug 98897] Macbook pro 11,5 screen flicker when AC adapter plugged in

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98897 --- Comment #27 from extr15 --- seems if I boot without AC adapter plugged in, then there is no flicker problem. plug in AC is OK after I log in my computer. but when I suspend and wakeup with AC plugged in, the screen flicker will happen. any id

[PATCH 7/7 v2] drm/radeon: Refuse to migrate a prime BO to VRAM. (v2)

2017-04-02 Thread raof
From: Christopher James Halse Rogers BOs shared via dma-buf, either imported or exported, cannot sensibly be migrated to VRAM without breaking the dma-buf sharing. Refuse userspace requests to migrate to VRAM, ensure such BOs are not migrated during command submission, and refuse to pin them t

[PATCH 6/7] drm/radeon: Maintain prime import/export refcount for BOs

2017-04-02 Thread raof
From: Christopher James Halse Rogers Signed-off-by: Christopher James Halse Rogers --- drivers/gpu/drm/radeon/radeon.h | 1 + drivers/gpu/drm/radeon/radeon_prime.c | 6 ++ 2 files changed, 7 insertions(+) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h

linux-next: build failure after merge of the drm-misc tree

2017-04-02 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c: In function 'vmw_sou_crtc_page_flip': drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c:327:8: error: too few arguments to function 'drm_atomic_helper_page_flip' r

[PATCH 4/6 (v2)] drm/amdgpu: Refuse to pin or change acceptable domains of prime BOs to VRAM. (v2)

2017-04-02 Thread raof
From: Christopher James Halse Rogers Migration to VRAM will break the sharing, resulting in rendering on the exporting GPU never becoming visible on the importing GPU. v2: Don't pin BOs to GTT. Instead, refuse to migrate them out of GTT. Signed-off-by: Christopher James Halse Rogers --- dri

linux-next: manual merge of the drm-misc tree with the drm tree

2017-04-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got conflicts in: drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c between commits: 904bb5e5817f ("drm/vmwgfx: Switch over to internal atomic API for STDU") b0119cb9229d

Re: [RFC PATCH xserver] modesetting: re-set the crtc's mode when link-status goes BAD

2017-04-02 Thread Eric Anholt
Daniel Vetter writes: > On Fri, Mar 31, 2017 at 05:22:09PM -0700, Eric Anholt wrote: >> Manasi Navare writes: >> >> > On Fri, Mar 31, 2017 at 01:08:41PM -0700, Eric Anholt wrote: >> >> Manasi Navare writes: >> >> >> >> > On Thu, Mar 30, 2017 at 05:37:55PM -0700, Eric Anholt wrote: >> >> >> Ma

[Bug 100531] [regression] Broken graphics in several games

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100531 --- Comment #4 from Marek Olšák --- Created attachment 130650 --> https://bugs.freedesktop.org/attachment.cgi?id=130650&action=edit possible fix Would you please try this patch? -- You are receiving this mail because: You are the assignee f

[Bug 104551] Unable to resume from suspend NVIDIA GeForce GTX 650

2017-04-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104551 --- Comment #9 from Ignacio Taranto (itaran...@gmail.com) --- Created attachment 255723 --> https://bugzilla.kernel.org/attachment.cgi?id=255723&action=edit Hardware information (hwinfo --short) -- You are receiving this mail because: You are

[Bug 104551] Unable to resume from suspend NVIDIA GeForce GTX 650

2017-04-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104551 Ignacio Taranto (itaran...@gmail.com) changed: What|Removed |Added Kernel Version|3.16.7-24-desktop |4.4.57-18.3-defaul

[Bug 104551] Unable to resume from suspend NVIDIA GeFroce GTX 650

2017-04-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104551 Ignacio Taranto (itaran...@gmail.com) changed: What|Removed |Added Summary|Unable to resume from |Unable to resume f

[Bug 104551] Unable to resume from suspend AMD Radeon HD 6570

2017-04-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=104551 Ignacio Taranto (itaran...@gmail.com) changed: What|Removed |Added CC||itaran...@gmail.co

[Bug 100531] [regression] Broken graphics in several games

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100531 --- Comment #3 from Jan Ziak <0xe2.0x9a.0...@gmail.com> --- Created attachment 130649 --> https://bugs.freedesktop.org/attachment.cgi?id=130649&action=edit Tomb Raider benchmark screenshot -- You are receiving this mail because: You are the a

Re: [PATCH 2/4] drm: Add drm_object lease infrastructure

2017-04-02 Thread Keith Packard
Daniel Vetter writes: > Still not sure we want to restrict objects on the lessor side. Feels like > unecessary complexity (i.e. more bugs in kernel, that's never good), and > at best only needed for lessors who can't keep track of stuff. It's been useful when hacking existing code, and will help

Re: [Intel-gfx] [BUG][REGRESSION] i915 gpu hangs under load

2017-04-02 Thread Martin Kepplinger
Am 2. April 2017 13:50:26 MESZ schrieb Thorsten Leemhuis : >Lo! On 22.03.2017 11:36, Jani Nikula wrote: >> On Wed, 22 Mar 2017, Martin Kepplinger wrote: >>> I know something similar is here: >>> https://bugs.freedesktop.org/show_bug.cgi?id=100110 too. >>> But this is rc3 and my machine is tota

Re: [PATCH 4/4] drm: Add four ioctls for managing drm mode object leases

2017-04-02 Thread Keith Packard
Daniel Vetter writes: > Should we just use fd for this? Essentially lessors would be required to > keep track of all their pending leases, and just dup() them over to the > client. Would reduce the uapi scope a bit, and if a lessor can't keep > track of it's leases there's a problem. Right now,

[PATCH] drm/nouveau: enable interrupts on cards with 32 intr lines

2017-04-02 Thread Adam Borowski
The code attempts to enable them, but hits an undefined behaviour by shifting by the entire register's width: int lines = 32; u32 mask = (1 << lines) - 1;// on x86 u32 mask = (1 << lines) - 1;// on arm (32) u32 mask = (1 << lines) - 1;// on ar

Re: [PATCH 4/9] drm/vmwgfx: Revert "drm/vmwgfx: Replace numeric parameter like 0444 with macro"

2017-04-02 Thread Øyvind A . Holm
On 2017-03-27 15:17:54, Sinclair Yeh wrote: > From: Øyvind A. Holm > > This reverts commit 2d8e60e8b074 ("drm/vmwgfx: Replace numeric > parameter like 0444 with macro") > [...] > index 45d711e..d31dc34 100644 > --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c > +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c >

Re: [PATCH 3/4] drm: Check mode object lease status in all master ioctl paths

2017-04-02 Thread Keith Packard
Daniel Vetter writes: > I think it'd be good if we could consolidate all the lease checking into > drm_mode_object_find (respectively __drm_mode_object_find). We'd need to > wire up the fpriv to be able to do that, but we could upstream that patch > right away before anything else. That should ta

Re: [Intel-gfx] [BUG][REGRESSION] i915 gpu hangs under load

2017-04-02 Thread Thorsten Leemhuis
Lo! On 22.03.2017 11:36, Jani Nikula wrote: > On Wed, 22 Mar 2017, Martin Kepplinger wrote: >> I know something similar is here: >> https://bugs.freedesktop.org/show_bug.cgi?id=100110 too. >> But this is rc3 and my machine is totally *not usable*. Let me be >> annoying :) I hope I can help: > Pl

Re: [git pull] vmwgfx-next

2017-04-02 Thread Daniel Vetter
On Fri, Mar 31, 2017 at 04:32:55PM -0700, Sinclair Yeh wrote: > Hi Dave, > > This series enables atomic mode set for vmwgfx. A number of features and > larger fixes are also included. > > The following changes since commit 8cd3ac52963f2e99f4c21d1c9ce89531ce66c2d6: > > Merge branch 'drm-next-4

Re: [PATCH 2/4] drm: Add drm_object lease infrastructure

2017-04-02 Thread Daniel Vetter
On Sat, Apr 01, 2017 at 10:08:39AM -0700, Keith Packard wrote: > + BUG_ON(__mutex_owner(&master->dev->mode_config.idr_mutex) != current); Forgot to reply on this: lockdep_assert_held + enable lockdep. Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch

[Bug 100534] Mouse cursors have abnormally dark pixels around edges

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100534 Bug ID: 100534 Summary: Mouse cursors have abnormally dark pixels around edges Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severit

Re: Proposal for RandR version 1.6, Leases and EDID-based output grabs

2017-04-02 Thread Daniel Vetter
On Sat, Apr 01, 2017 at 03:58:58PM -0700, "Keith Packard" wrote: > > As a part of the DRM leasing work, we need a way to have the X server > create a lease and pass it back to an X client. Here's a proposal for > the RandR specification changes necessary for that. The basic plan is > pretty simple

[Bug 98520] System randomly crashes / freezes while playing certain games

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98520 --- Comment #37 from WeKa --- Aunt Google pointed me to this bug report, because I am experimenting something similar. If it has nothing to do with this bug, feel free to delete my writing: I am running kernel 4.9.19 with nouveau module driving

[Bug 100306] System randomly freezes or crashes to the login screen, glitches until rebooted

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100306 MirceaKitsune changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug 98897] Macbook pro 11,5 screen flicker when AC adapter plugged in

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98897 --- Comment #26 from extr15 --- I can now compile a single radeon module, ref: http://www.codewhirl.com/2012/04/how-to-compile-a-single-module-in-ubuntu-linux/ however, neither attachment 128481 nor attachment 128780 work for me. the screen stil

Re: [RFC] drm: atomic-rmfb semantics

2017-04-02 Thread Daniel Vetter
On Sun, Apr 02, 2017 at 09:13:34AM -0400, Rob Clark wrote: > On Sun, Apr 2, 2017 at 8:46 AM, Daniel Vetter wrote: > > On Sat, Apr 01, 2017 at 03:11:36PM -0400, Rob Clark wrote: > >> We possibly missed the boat on redefining rmfb semantics for atomic > >> userspace to something more sane, unless pe

Re: DVI output on i.MX51 EVP board not working?

2017-04-02 Thread Wladimir J. van der Laan
On Sat, Apr 01, 2017 at 06:40:52PM -0300, Fabio Estevam wrote: > Hi Wladimir, > > On Fri, Mar 31, 2017 at 2:36 AM, Wladimir J. van der Laan > wrote: > > > - Went as far back as kernel v4.0, even to v3.12 or so (commit 493a863, > > "ARM: > > dts: imx51-babbage: Make DVI and WVGA panel function

Re: [PATCH 2/4] drm: Add drm_object lease infrastructure

2017-04-02 Thread Daniel Vetter
On Sat, Apr 01, 2017 at 10:08:39AM -0700, Keith Packard wrote: > This provides new data structures to hold "lease" information about > drm mode setting objects, and provides for creating new drm_masters > which have access to a subset of the available drm resources. > > An 'owner' is a drm_master

Re: [PATCH 4/4] drm: Add four ioctls for managing drm mode object leases

2017-04-02 Thread Daniel Vetter
On Sat, Apr 01, 2017 at 10:08:41AM -0700, Keith Packard wrote: > drm_mode_create_lease > > Creates a lease for a list of drm mode objects, returning an > fd for the new drm_master and a 64-bit identifier for the lessee > > drm_mode_list_lesees > > List the identifiers of the le

Re: [PATCH 3/4] drm: Check mode object lease status in all master ioctl paths

2017-04-02 Thread Daniel Vetter
On Sat, Apr 01, 2017 at 10:08:40AM -0700, Keith Packard wrote: > Attempts to modify un-leased objects are rejected with an error. > Information returned about unleased objects is modified to make them > appear unusable and/or disconnected. > > Signed-off-by: Keith Packard Just a merge-technical

[Bug 100465] Hard lockup with radeonsi driver on FirePro W600, W9000 and W9100

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100465 --- Comment #6 from joro-2013 --- Yeah, i know. But the behaviour of not writing to kern.log but just completely locking up appeared after said patch. -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 100531] [regression] Broken graphics in several games

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100531 --- Comment #2 from Gregor Münch --- Created attachment 130641 --> https://bugs.freedesktop.org/attachment.cgi?id=130641&action=edit blue shadows in Warhammer -- You are receiving this mail because: You are the assignee for the bug._

[Bug 100531] [regression] Broken graphics in several games

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100531 --- Comment #1 from Gregor Münch --- Created attachment 130640 --> https://bugs.freedesktop.org/attachment.cgi?id=130640&action=edit broken car reflections in rocket league -- You are receiving this mail because: You are the assignee for the

[Bug 100531] [regression] Broken graphics in several games

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100531 Bug ID: 100531 Summary: [regression] Broken graphics in several games Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Sev

Re: [RFC] drm: atomic-rmfb semantics

2017-04-02 Thread Rob Clark
On Sun, Apr 2, 2017 at 8:46 AM, Daniel Vetter wrote: > On Sat, Apr 01, 2017 at 03:11:36PM -0400, Rob Clark wrote: >> We possibly missed the boat on redefining rmfb semantics for atomic >> userspace to something more sane, unless perhaps the few existing atomic >> userspaces (CrOS?) could confirm t

[Bug 98897] Macbook pro 11,5 screen flicker when AC adapter plugged in

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98897 --- Comment #25 from extr15 --- (In reply to berg from comment #20) > Created attachment 128481 [details] [review] > Setting correct core and memory clock for M370X in MBP 11,5 > > No screen flickering after testing out this patch I made on the

Re: [RFC] drm: atomic-rmfb semantics

2017-04-02 Thread Daniel Vetter
On Sat, Apr 01, 2017 at 03:11:36PM -0400, Rob Clark wrote: > We possibly missed the boat on redefining rmfb semantics for atomic > userspace to something more sane, unless perhaps the few existing atomic > userspaces (CrOS?) could confirm that this change won't cause problems > (in which case we co

Re: DRM Display driver for Intel FPGA Video and Image Processing Suite

2017-04-02 Thread Daniel Vetter
On Fri, Mar 31, 2017 at 09:08:37AM +, Ong, Hean Loong wrote: > Hi, > > I would like to upstream the attached Intel FPGA Video and Image > Processing Suite. The attached patch supports the Intel Arria10 devkit > and its variants. The purpose of the patch is to enable the FPGA driven > display d

Re: [RFC PATCH xserver] modesetting: re-set the crtc's mode when link-status goes BAD

2017-04-02 Thread Daniel Vetter
On Fri, Mar 31, 2017 at 05:22:09PM -0700, Eric Anholt wrote: > Manasi Navare writes: > > > On Fri, Mar 31, 2017 at 01:08:41PM -0700, Eric Anholt wrote: > >> Manasi Navare writes: > >> > >> > On Thu, Mar 30, 2017 at 05:37:55PM -0700, Eric Anholt wrote: > >> >> Martin Peres writes: > >> >> > >>

Re: [RFC] drm: atomic-rmfb semantics

2017-04-02 Thread Rob Clark
On Sat, Apr 1, 2017 at 3:11 PM, Rob Clark wrote: > We possibly missed the boat on redefining rmfb semantics for atomic > userspace to something more sane, unless perhaps the few existing atomic > userspaces (CrOS?) could confirm that this change won't cause problems > (in which case we could just

[Bug 94679] DAL DCE 10 missing CEA interlaced modes

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94679 Andy Furniss changed: What|Removed |Added Priority|medium |low Severity|normal

[radeon-alex:drm-next-4.12-wip 190/320] drivers/gpu/drm/amd/amdgpu/amdgpu.h:981:28: error: 'NGG_BUF_MAX' undeclared here (not in a function)

2017-04-02 Thread kbuild test robot
tree: git://people.freedesktop.org/~agd5f/linux.git drm-next-4.12-wip head: aaee136fb4cee7136f1436bc5303d2dcff3bba5c commit: bce23e00f3369ce8c32c90f087e37c01f83002d1 [190/320] drm/amdgpu: add NGG parameters config: alpha-allyesconfig (attached as .config) compiler: alpha-linux-gnu-gcc (Debian

[Bug 100530] Linking of etnaviv_cmd_stream_test is broken

2017-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100530 Bug ID: 100530 Summary: Linking of etnaviv_cmd_stream_test is broken Product: DRI Version: XOrg git Hardware: All OS: Linux (All) Status: NEW Severity: n