Re: [PATCH] drm/tinydrm: Fix drm_driver.fops.owner

2017-03-26 Thread Daniel Vetter
On Sun, Mar 26, 2017 at 01:56:55AM +0100, Noralf Trønnes wrote: > > Den 25.03.2017 22.32, skrev Daniel Vetter: > > On Sat, Mar 25, 2017 at 02:56:20PM +0100, Noralf Trønnes wrote: > > > drm_driver.fops can't be shared since the owner then becomes tinydrm.ko. > > > Move the fops declaration to the d

Re: [PATCH v2] drm/tinydrm: Fix drm_driver.fops.owner

2017-03-26 Thread Daniel Vetter
On Sun, Mar 26, 2017 at 04:25:29PM +0200, Noralf Trønnes wrote: > drm_driver.fops can't be shared since the owner then becomes tinydrm.ko. > Move the fops declaration to the driver. > > v2: Use DEFINE_DRM_GEM_CMA_FOPS > > Reported-by: Daniel Vetter > Signed-off-by: Noralf Trønnes Applied, than

Re: [PATCHv2 26/31] drm/omap: Create fbdev emulation only for the first DRM connector

2017-03-26 Thread Daniel Vetter
On Mon, Mar 27, 2017 at 09:28:07AM +0300, Tomi Valkeinen wrote: > On 25/03/17 23:22, Daniel Vetter wrote: > > On Fri, Mar 24, 2017 at 11:40:47AM +0200, Tomi Valkeinen wrote: > >> From: Peter Ujfalusi > >> > >> Add fbdev emulation only for the first DRM connector. > >> When the fbdev emulation was

Re: [PATCH v5 4/8] drm: Add driver-private objects to atomic state

2017-03-26 Thread Daniel Vetter
On Wed, Mar 22, 2017 at 03:30:49PM -0700, Dhinakaran Pandiyan wrote: > From: "Pandiyan, Dhinakaran" > > It is necessary to track states for objects other than connector, crtc > and plane for atomic modesets. But adding objects like DP MST link > bandwidth to drm_atomic_state would mean that a non

Re: [PATCHv2 31/31] drm/omap: fix crash on module unload

2017-03-26 Thread Tomi Valkeinen
On 25/03/17 23:25, Daniel Vetter wrote: > On Fri, Mar 24, 2017 at 11:40:52AM +0200, Tomi Valkeinen wrote: >> When unloading omapdrm we get a NULL pointer deref in >> omap_drm_irq_uninstall(). This is caused by: >> >> 967dd48417874dd25491a4e933648f394a64f70f ("drm: remove >> drm_vblank_no_hw_counter

Re: [PATCH v2] drm: dw_hdmi: Don't rely on the status of the bridge for updating HPD

2017-03-26 Thread Archit Taneja
Hi, On 03/10/2017 03:01 PM, Romain Perier wrote: Currently, the irq handler that monitores changes for HPD anx RX_SENSE relies on the status of the bridge for updating the status of the HPD. The update is done only when the bridge is enabled. However, on Rockchip platforms we have found use cas

Re: [PATCHv2 26/31] drm/omap: Create fbdev emulation only for the first DRM connector

2017-03-26 Thread Tomi Valkeinen
On 25/03/17 23:22, Daniel Vetter wrote: > On Fri, Mar 24, 2017 at 11:40:47AM +0200, Tomi Valkeinen wrote: >> From: Peter Ujfalusi >> >> Add fbdev emulation only for the first DRM connector. >> When the fbdev emulation was created for all connectors with different >> resolution, the lower res displ

Re: [PATCH 06/19] drm/vmwgfx: Drop the cursor locking hack

2017-03-26 Thread Daniel Vetter
We discussed this quickly on irc, transcribing. On Mon, Mar 27, 2017 at 5:01 AM, Michel Dänzer wrote: > Strictly speaking, the (virtual) hardware is too limited to support the > legacy KMS cursor API. AFAIR e.g. weston at least used to make use of HW > cursors for other surfaces, not sure that's

Re: [PATCH v5 4/8] drm: Add driver-private objects to atomic state

2017-03-26 Thread Maarten Lankhorst
Hey, There are still 2 unnecessary NULL checks, afaict. Op 22-03-17 om 23:30 schreef Dhinakaran Pandiyan: > From: "Pandiyan, Dhinakaran" > > It is necessary to track states for objects other than connector, crtc > and plane for atomic modesets. But adding objects like DP MST link > bandwidth to

Re: [PATCH 1/2] drm/bridge: ti-tfp410: support hpd via gpio

2017-03-26 Thread Archit Taneja
Hi, On 03/07/2017 03:21 AM, Christopher Spinrath wrote: Hi Fabio, On 03/06/2017 10:46 PM, Fabio Estevam wrote: Hi Christopher, On Mon, Mar 6, 2017 at 6:40 PM, wrote: From: Christopher Spinrath On some boards the hpd pin of a hdmi connector is wired up to a gpio pin. Since in the DRM worl

Re: [PATCH 06/19] drm/vmwgfx: Drop the cursor locking hack

2017-03-26 Thread Michel Dänzer
On 23/03/17 07:32 PM, Thomas Hellstrom wrote: > On 03/23/2017 11:10 AM, Daniel Vetter wrote: >> On Thu, Mar 23, 2017 at 09:35:25AM +0100, Thomas Hellstrom wrote: >>> On 03/23/2017 08:31 AM, Daniel Vetter wrote: On Thu, Mar 23, 2017 at 08:28:32AM +0100, Daniel Vetter wrote: > On Thu, Mar 23

[PATCH libdrm] xf86drm: remove memory leaks in drmGetBusid/drmGetReservedContextList

2017-03-26 Thread Seung-Woo Kim
In error path of drmGetBusid() and drmGetReservedContextList(), there are memory leaks for error path. So this removes them. Signed-off-by: Seung-Woo Kim --- xf86drm.c | 18 -- 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/xf86drm.c b/xf86drm.c index 88f86ed..

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

2017-03-26 Thread Stephen Rothwell
Hi Kees, Today's linux-next merge of the kspp tree got a conflict in: include/drm/drm_drv.h between commit: 91faa0478b59 ("drm: drop extern from function decls") from the drm-misc tree and commit: 6bbaac116552 ("initify: Mark functions with the __nocapture attribute") from the kspp tre

Re: [PATCH] Revert "drm/radeon: Try evicting from CPU accessible to inaccessible VRAM first"

2017-03-26 Thread Michel Dänzer
On 25/03/17 03:59 AM, Julien Isorce wrote: > Hi Michel, > > I double checked and you are right, the change 0 -> i works. Thanks for testing, fix submitted for review. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast |

Re: [PATCH] drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one

2017-03-26 Thread Ilia Mirkin
On Sun, Mar 26, 2017 at 6:14 PM, Ben Skeggs wrote: > On 03/19/2017 06:23 AM, Ilia Mirkin wrote: >> >> The NV4A (aka NV44A) is an oddity in the family. It only comes in AGP >> and PCI varieties, rather than a core PCIE chip with a bridge for >> AGP/PCI as necessary. As a result, it appears that the

Re: [PATCH] drm/nouveau/mmu/nv4a: use nv04 mmu rather than the nv44 one

2017-03-26 Thread Ben Skeggs
On 03/19/2017 06:23 AM, Ilia Mirkin wrote: The NV4A (aka NV44A) is an oddity in the family. It only comes in AGP and PCI varieties, rather than a core PCIE chip with a bridge for AGP/PCI as necessary. As a result, it appears that the MMU is also non-functional. For AGP cards, the vast majority of

Re: [PATCH v2 0/5] Thunderbolt GPU fixes

2017-03-26 Thread Lukas Wunner
On Sat, Mar 25, 2017 at 10:06:03PM +0100, Daniel Vetter wrote: > On Sat, Mar 25, 2017 at 09:05:20AM +0100, Lukas Wunner wrote: > > Dear drm-misc maintainers, > > > > please consider merging this series: > > I think I pinged you in private already, but want to become drm-misc > committer so that y

[Bug 89906] Account request for DRM

2017-03-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89906 Lukas Wunner changed: What|Removed |Added Assignee|dri-devel@lists.freedesktop |mcla...@redhat.com |.or

[Bug 89906] Account request for DRM

2017-03-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89906 --- Comment #3 from Lukas Wunner --- Created attachment 130467 --> https://bugs.freedesktop.org/attachment.cgi?id=130467&action=edit ssh public key (4096 bit) -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 89906] Account request for DRM

2017-03-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89906 Lukas Wunner changed: What|Removed |Added Attachment #114867|ssh public key |ssh public key (2048 bit) descript

[PATCH v2] drm/tinydrm: Fix drm_driver.fops.owner

2017-03-26 Thread Noralf Trønnes
drm_driver.fops can't be shared since the owner then becomes tinydrm.ko. Move the fops declaration to the driver. v2: Use DEFINE_DRM_GEM_CMA_FOPS Reported-by: Daniel Vetter Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/tinydrm/core/tinydrm-core.c | 15 --- drivers/gpu/drm/tinyd

[Bug 193651] Amdgpu error messages at boot with Amd RX460

2017-03-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=193651 --- Comment #19 from fin4...@hotmail.com --- Created attachment 23 --> https://bugzilla.kernel.org/attachment.cgi?id=23&action=edit Kernel 4.11-rc3 config file for RX400 series, add drivers for your hardware -- You are receiving this m

[Bug 193651] Amdgpu error messages at boot with Amd RX460

2017-03-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=193651 --- Comment #18 from fin4...@hotmail.com --- (In reply to Milo from comment #17) > So it built as version 4.10.0-rc5-gec3fa8e6ca19. When I booted from it, > after 20 minutes the screen was still blank so I rebooted. All your software must in sy

[Bug 100400] Game Valhalla Hills crash on startup

2017-03-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100400 --- Comment #5 from beham.christop...@gmx.at --- Created attachment 130465 --> https://bugs.freedesktop.org/attachment.cgi?id=130465&action=edit Source files packagecreation archlinux with enabled debug -- You are receiving this mail because:

[Bug 100400] Game Valhalla Hills crash on startup

2017-03-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100400 --- Comment #4 from beham.christop...@gmx.at --- Created attachment 130464 --> https://bugs.freedesktop.org/attachment.cgi?id=130464&action=edit cpuinfo -- You are receiving this mail because: You are the assignee for the bug.

[Bug 100400] Game Valhalla Hills crash on startup

2017-03-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100400 --- Comment #3 from beham.christop...@gmx.at --- Created attachment 130463 --> https://bugs.freedesktop.org/attachment.cgi?id=130463&action=edit lspci -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 100400] Game Valhalla Hills crash on startup

2017-03-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100400 --- Comment #2 from beham.christop...@gmx.at --- Created attachment 130462 --> https://bugs.freedesktop.org/attachment.cgi?id=130462&action=edit glxinfo -- You are receiving this mail because: You are the assignee for the bug.

[Bug 100400] Game Valhalla Hills crash on startup

2017-03-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100400 --- Comment #1 from beham.christop...@gmx.at --- Created attachment 130461 --> https://bugs.freedesktop.org/attachment.cgi?id=130461&action=edit gdb output of running and backtracing the game logged with script -- You are receiving this mail

[Bug 100400] Game Valhalla Hills crash on startup

2017-03-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100400 Bug ID: 100400 Summary: Game Valhalla Hills crash on startup Product: Mesa Version: 17.0 Hardware: x86-64 (AMD64) OS: All Status: NEW Severity: normal

RE: [PATCH v2] drm: Add description for scdc variable

2017-03-26 Thread Sharma, Shashank
Thanks, V5 will do the trick for sure :-) Regards Shashank -Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Saturday, March 25, 2017 11:30 PM To: Sharma, Shashank Cc: dri-devel@lists.freedesktop.org; Daniel Vetter Subject: Re: [PATCH

[Bug 193651] Amdgpu error messages at boot with Amd RX460

2017-03-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=193651 --- Comment #17 from Milo (milo...@gmail.com) --- (In reply to fin4478 from comment #16) > (In reply to Milo from comment #15) > > > > > I tried the above but notice that it fails when trying to build headers. > > You do not need kernel header