Re: [PATCH 02/10] arm64/iommu: don't remap contiguous allocations for coherent devices

2018-12-10 Thread Christoph Hellwig
On Mon, Dec 10, 2018 at 07:19:30PM +, Robin Murphy wrote: > On 08/12/2018 17:36, Christoph Hellwig wrote: >> There is no need to have an additional kernel mapping for a contiguous >> allocation if the device already is DMA coherent, so skip it. > > FWIW, the "need" was that it kept the code in

Re: [PATCH 04/10] arm: implement DMA_ATTR_NON_CONSISTENT

2018-12-10 Thread Christoph Hellwig
On Sat, Dec 08, 2018 at 07:52:04PM -0300, Ezequiel Garcia wrote: > > #ifdef CONFIG_DMA_API_DEBUG > > @@ -773,7 +791,7 @@ static void *__dma_alloc(struct device *dev, size_t > > size, dma_addr_t *handle, > > > > if (cma) > > buf->allocator = _allocator; > > - else if

Re: [PATCH] [RFC] MAINTAINERS: Daniel for drm co-maintainer

2018-12-10 Thread Alex Deucher
On Mon, Dec 10, 2018 at 5:30 AM Daniel Vetter wrote: > > lkml and Linus gained a CoC, and it's serious this time. Which means > my no 1 reason for declining to officially step up as drm maintainer > is gone, and I didn't find any new good excuse. > > I chatted with a few people in private

[Bug 201273] Fatal error during GPU init amdgpu RX560

2018-12-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201273 --- Comment #18 from quirin.blae...@freenet.de --- Bug is still alive: v4.19.7 -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing list

Re: [PATCH 6/6] sparc: merge 32-bit and 64-bit version of pci.h

2018-12-10 Thread David Miller
From: Christoph Hellwig Date: Mon, 10 Dec 2018 17:32:56 +0100 > Dave, can you pick the series up through the sparc tree? I could also > merge it through the dma-mapping tree, but given that there is no > dependency on it the sparc tree seem like the better fit. I thought that some of this is a

[Bug 108919] Parkitect (Unity Game) dispalys artifacts and black screens with Vega hardware

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108919 --- Comment #6 from Alexander Walker --- Created attachment 142771 --> https://bugs.freedesktop.org/attachment.cgi?id=142771=edit Apitrace -- You are receiving this mail because: You are the assignee for the

Re: [PATCH 6/6] sparc: merge 32-bit and 64-bit version of pci.h

2018-12-10 Thread Christoph Hellwig
On Mon, Dec 10, 2018 at 10:10:39AM -0800, David Miller wrote: > From: Christoph Hellwig > Date: Mon, 10 Dec 2018 17:32:56 +0100 > > > Dave, can you pick the series up through the sparc tree? I could also > > merge it through the dma-mapping tree, but given that there is no > > dependency on it

[Bug 108919] Parkitect (Unity Game) dispalys artifacts and black screens with Vega hardware

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108919 --- Comment #7 from Alexander Walker --- (In reply to Timothy Arceri from comment #5) > Can somebody try to get an apitrace of the issue [1]? Thanks. > > [1] https://github.com/apitrace/apitrace/wiki/Steam Never used that tool before but I

[Bug 108985] Visual Novel "The Fruit of Grisaia" has flickering glitches

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108985 Fabian Maurer changed: What|Removed |Added Status|NEEDINFO|NEW --- Comment #5 from Fabian Maurer

[PATCH] fbdev: fbcon: Fix unregister crash when more than one framebuffer

2018-12-10 Thread Noralf Trønnes
When unregistering fbdev using unregister_framebuffer(), any bound console will unbind automatically. This is working fine if this is the only framebuffer, resulting in a switch to the dummy console. However if there is a fb0 and I unregister fb1 having a bound console, I eventually get a crash.

Re: [PATCH 02/10] arm64/iommu: don't remap contiguous allocations for coherent devices

2018-12-10 Thread Robin Murphy
On 08/12/2018 17:36, Christoph Hellwig wrote: There is no need to have an additional kernel mapping for a contiguous allocation if the device already is DMA coherent, so skip it. FWIW, the "need" was that it kept the code in this path simple and the mapping behaviour consistent with the

Re: [PATCH 6/6] sparc: merge 32-bit and 64-bit version of pci.h

2018-12-10 Thread David Miller
From: Christoph Hellwig Date: Mon, 10 Dec 2018 20:22:28 +0100 > On Mon, Dec 10, 2018 at 10:10:39AM -0800, David Miller wrote: >> From: Christoph Hellwig >> Date: Mon, 10 Dec 2018 17:32:56 +0100 >> >> > Dave, can you pick the series up through the sparc tree? I could also >> > merge it through

Re: [Intel-gfx] [PATCH 1/5] drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers

2018-12-10 Thread Dhinakaran Pandiyan
On Mon, 2018-12-10 at 18:39 +0200, Ville Syrjälä wrote: > On Fri, Dec 07, 2018 at 12:45:25PM -0800, Dhinakaran Pandiyan wrote: > > On Fri, 2018-09-28 at 21:03 +0300, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > We aren't supposed to force a stop+start between every i2c msg > > >

[PATCH] drm/msm: fix arm64 build error

2018-12-10 Thread Arnd Bergmann
The new a200 GPU MMU support fails to build on arm64 because of a conflicting macro name: drivers/gpu/drm/msm/msm_gpummu.c:17: error: "VA_START" redefined [-Werror] #define VA_START SZ_16M In file included from arch/arm64/include/asm/pgtable-hwdef.h:19, from

[Bug 108979] Graphical glitch of popupping missing texture on Mesa version >18.0.5 (Padoka Stable + Unstable/Oibaf/ubuntu-x-swat PPAs)

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108979 --- Comment #4 from emm...@linuxmail.org --- Created attachment 142773 --> https://bugs.freedesktop.org/attachment.cgi?id=142773=edit Popupping grahpical glitch highligted I have highlighted with a red circle the glitch, that glitch appear in

[PATCH v3 1/2] drm/sched: Refactor ring mirror list handling.

2018-12-10 Thread Andrey Grodzovsky
Decauple sched threads stop and start and ring mirror list handling from the policy of what to do about the guilty jobs. When stoppping the sched thread and detaching sched fences from non signaled HW fenes wait for all signaled HW fences to complete before rerunning the jobs. v2: Fix

[PATCH] host1x: cdma: use completion instead of semaphore

2018-12-10 Thread Arnd Bergmann
In this usage, the two are completely equivalent, but the completion documents better what is going on, and we generally try to avoid semaphores these days. Signed-off-by: Arnd Bergmann --- drivers/gpu/host1x/cdma.c | 6 +++--- drivers/gpu/host1x/cdma.h | 4 ++-- 2 files changed, 5

Re: [PATCH] [RFC] MAINTAINERS: Daniel for drm co-maintainer

2018-12-10 Thread Eric Anholt
Daniel Vetter writes: > lkml and Linus gained a CoC, and it's serious this time. Which means > my no 1 reason for declining to officially step up as drm maintainer > is gone, and I didn't find any new good excuse. > > I chatted with a few people in private already, and the biggest > concern is

Re: [PATCH] drm/dp: Set the MOT bit for Write_Status_Update_Request transactions

2018-12-10 Thread Ville Syrjälä
On Mon, Dec 10, 2018 at 01:07:49PM -0800, Dhinakaran Pandiyan wrote: > The Write_Status_Update_Request I2C transaction requires the MOT bit to > be set, Change the logical AND to OR to fix what looks like a typo. It's not a type. We're just preserving MOT. What makes you think it should always be

Re: next/master boot bisection: Oops in nouveau driver on jetson-tk1

2018-12-10 Thread Mark Brown
On Mon, Dec 10, 2018 at 05:26:22PM +0100, Thierry Reding wrote: > On Mon, Dec 10, 2018 at 02:25:59PM +, Mark Brown wrote: > > This has been broken for a considerable time now with no response from > > Ben - is there some other path we can use to get the fix merged? > I suppose we could go

Re: [PATCH 0/2] arm64: meson-gxm: Add support for the Mali T820 GPU

2018-12-10 Thread Kevin Hilman
Neil Armstrong writes: > This patchset adds : > - Optional reset properties in the midgard bindings > - Mali T820 Node in Amlogic Meson GXM DTSI > > Christian Hewitt (1): > arm64: dts: meson-gxm: Add Mali-T820 node > > Neil Armstrong (1): > dt-bindings: gpu: mali-midgard: Add resets property

Re: [PATCH 0/7] legacy helper cleanup

2018-12-10 Thread Alex Deucher
On Mon, Dec 10, 2018 at 5:04 AM Daniel Vetter wrote: > > Hi all, > > Just a small cleanup motivated by the last patch. After this series atomic > drivers do no longer need the drm_crtc_helper.h header, and none of them > use it. Except for the 2 that support both atomic and legacy kms in the >

[PATCH v3 2/2] drm/sched: Rework HW fence processing.

2018-12-10 Thread Andrey Grodzovsky
Expedite job deletion from ring mirror list to the HW fence signal callback instead from finish_work, together with waiting for all such fences to signal in drm_sched_stop we garantee that already signaled job will not be processed twice. Remove the sched finish fence callback and just submit

Re: [Intel-gfx] [PATCH] drm/dp: Set the MOT bit for Write_Status_Update_Request transactions

2018-12-10 Thread Ville Syrjälä
On Mon, Dec 10, 2018 at 11:29:06PM +0200, Ville Syrjälä wrote: > On Mon, Dec 10, 2018 at 01:07:49PM -0800, Dhinakaran Pandiyan wrote: > > The Write_Status_Update_Request I2C transaction requires the MOT bit to > > be set, Change the logical AND to OR to fix what looks like a typo. > > It's not a

[Bug 108919] Parkitect (Unity Game) dispalys artifacts and black screens with Vega hardware

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108919 --- Comment #8 from Timothy Arceri --- (In reply to Alexander Walker from comment #7) > (In reply to Timothy Arceri from comment #5) > > Can somebody try to get an apitrace of the issue [1]? Thanks. > > > > [1]

Re: [PATCH] drm/dp: Set the MOT bit for Write_Status_Update_Request transactions

2018-12-10 Thread Dhinakaran Pandiyan
On Mon, 2018-12-10 at 23:29 +0200, Ville Syrjälä wrote: > On Mon, Dec 10, 2018 at 01:07:49PM -0800, Dhinakaran Pandiyan wrote: > > The Write_Status_Update_Request I2C transaction requires the MOT > > bit to > > be set, Change the logical AND to OR to fix what looks like a typo. > > It's not a

[Bug 108992] Regression: Lenovo e585 (ryzen 2500u) freezes during boot with 4.20-rc5/rc6, amdgpu error

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108992 --- Comment #2 from Brian Schott --- I have the same issue with a 2700U in a Dell Inspiron 7375. All of the 4.20 RC versions that I have tried show the same problem. The system is able to boot with a 4.19 kernel. -- You are receiving this

[PATCH] drm/dp: Set the MOT bit for Write_Status_Update_Request transactions

2018-12-10 Thread Dhinakaran Pandiyan
The Write_Status_Update_Request I2C transaction requires the MOT bit to be set, Change the logical AND to OR to fix what looks like a typo. Cc: dri-devel@lists.freedesktop.org Cc: Jani Nikula Cc: Ville Syrjälä Fixes: 68ec2a2a2481 ("drm/dp: Use I2C_WRITE_STATUS_UPDATE to drain partial I2C_WRITE

Re: [PATCH 0/3] drm/exynos: add support for dynamic zpos in DECON and FIMD

2018-12-10 Thread Inki Dae
Hi Andrzej, 18. 12. 10. 오후 4:35에 Andrzej Hajda 이(가) 쓴 글: > Hi Inki, > > On 10.12.2018 03:25, Inki Dae wrote: >> Hi Andrzej, >> >> 18. 12. 6. 오후 6:38에 Andrzej Hajda 이(가) 쓴 글: >>> Hi Inki, >>> >>> This small patchset adds dynamic zpos support for DECON and FIMD. >> This patch will allow user space

Re: [PATCH] drm/msm: fix arm64 build error

2018-12-10 Thread Rob Clark
On Mon, Dec 10, 2018 at 3:56 PM Arnd Bergmann wrote: > > The new a200 GPU MMU support fails to build on arm64 because > of a conflicting macro name: > > drivers/gpu/drm/msm/msm_gpummu.c:17: error: "VA_START" redefined [-Werror] > #define VA_START SZ_16M > > In file included from

RE: [PATCH v3 2/2] drm/sched: Rework HW fence processing.

2018-12-10 Thread Zhou, David(ChunMing)
I don't think adding cb to sched job would work as soon as their lifetime is different with fence. Unless you make the sched job reference, otherwise we will get trouble sooner or later. -David > -Original Message- > From: amd-gfx On Behalf Of > Andrey Grodzovsky > Sent: Tuesday,

Re: [Intel-gfx] [PATCH 3/5] drm/dp: Implement I2C_M_STOP for i2c-over-aux

2018-12-10 Thread Dhinakaran Pandiyan
On Fri, 2018-09-28 at 21:04 +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Consult the I2C_M_STOP flag to determine whether to set the MOT bit > or > not. Makes it possible to send multiple messages in one go with > stop+start generated between the messages (as opposed nothing or >

[Bug 109006] Hotplugging DP1.2 monitor(s) causes machine to hang waiting for page flip

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109006 Bug ID: 109006 Summary: Hotplugging DP1.2 monitor(s) causes machine to hang waiting for page flip Product: DRI Version: unspecified Hardware: x86-64 (AMD64)

[Bug 109001] Freezes when waking up after screen goes blank.

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109001 --- Comment #5 from L.S.S. --- I'm not sure about the freeze you experienced. I'm having similar issues on latest Manjaro (4.18-4.19) that after wakeup, there are intermittent screen freezes for a few seconds every 2-3 minutes. Aside from the

[Bug 201957] New: amdgpu: ring gfx timeout

2018-12-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201957 Bug ID: 201957 Summary: amdgpu: ring gfx timeout Product: Drivers Version: 2.5 Kernel Version: 4.19.8, 4.20-rc5 Hardware: Intel OS: Linux Tree: Mainline

nouveau-fixes 4.20

2018-12-10 Thread Ben Skeggs
Hey Dave, Single fix for a Tegra regression. Thanks, Ben. The following changes since commit 4a07c0a59fa372b069d879971ba4d9e341979cf: drm/nouveau/secboot/acr: fix memory leak (2018-10-11 09:54:10 +1000) are available in the Git repository at: git://github.com/skeggsb/linux linux-4.20

nouveau-next 4.21

2018-12-10 Thread Ben Skeggs
Hey Dave, Mostly just initial support for Turing TU104/TU106 chipsets. Support for TU102 is missing as I don't yet have HW, but it should be trivial to add in later in the merge window (in theory). It's a bit of a rough first pass that'll get improved in future releases as a finish figuring out

[Bug 109007] radeonsi cache format changed, causes mesa crash on startup

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109007 Bug ID: 109007 Summary: radeonsi cache format changed, causes mesa crash on startup Product: Mesa Version: git Hardware: Other OS: All Status:

[Bug 109007] radeonsi cache format changed, causes mesa crash on startup

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109007 Daniel Drake changed: What|Removed |Added CC||mar...@gmail.com --- Comment #1 from

[Bug 108671] Massive Screen Artifacting on linux 4.19+

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108671 --- Comment #13 from coolo...@gmail.com --- Seems fixed on 4.20rc5 -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org

Re: [PATCH 0/3] drm/exynos: add support for dynamic zpos in DECON and FIMD

2018-12-10 Thread Andrzej Hajda
On 11.12.2018 00:45, Inki Dae wrote: > Hi Andrzej, > > 18. 12. 10. 오후 4:35에 Andrzej Hajda 이(가) 쓴 글: >> Hi Inki, >> >> On 10.12.2018 03:25, Inki Dae wrote: >>> Hi Andrzej, >>> >>> 18. 12. 6. 오후 6:38에 Andrzej Hajda 이(가) 쓴 글: Hi Inki, This small patchset adds dynamic zpos support for

[Bug 108671] Massive Screen Artifacting on linux 4.19+

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108671 coolo...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[PATCH v1.1 04/29] drm/omap: Use atomic suspend/resume helpers

2018-12-10 Thread Laurent Pinchart
Instead of rolling out custom suspend/resume implementations based on state information stored in the driver's data structures, use the atomic suspend/resume helpers that rely on a DRM atomic state object. Signed-off-by: Laurent Pinchart --- Changes since v1: - Use

Re: [PATCH 25/29] drm/omap: Pass drm_display_mode to .check_timings() and .set_timings()

2018-12-10 Thread Laurent Pinchart
Hi Sebastian, On Monday, 10 December 2018 00:26:28 EET Sebastian Reichel wrote: > On Wed, Dec 05, 2018 at 05:00:18PM +0200, Laurent Pinchart wrote: > > The omap_dss_device .check_timings() and .set_timings() operations > > operate on struct videomode, while the DRM API operates on struct > >

Re: [PATCH 18/29] drm/omap: Don't store display pointer in omap_connector structure

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:11PM +0200, Laurent Pinchart wrote: > Display pipelines based on drm_bridge are handled from the bridge > closest to the CRTC. To move to that model we thus need to transition > away from walking pipelines in the other direction, and from accessing > the device

Re: [PATCH 11/29] drm/omap: Factor out common init/cleanup code for output devices

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:04PM +0200, Laurent Pinchart wrote: > All the internal encoders share common init and cleanup code. Factor it > out to separate functions. > > Signed-off-by: Laurent Pinchart > --- Reviewed-by: Sebastian Reichel -- Sebastian >

Re: [PATCH v2 1/3] ACPI / PMIC: Add support for executing PMIC MIPI sequence elements

2018-12-10 Thread Mika Westerberg
On Thu, Dec 06, 2018 at 02:47:03PM +0100, Hans de Goede wrote: > DSI LCD panels describe an initialization sequence in the Video BIOS > Tables using so called MIPI sequences. One possible element in these > sequences is a PMIC specific element of 15 bytes. > > Although this is not really an ACPI

Re: [PATCH v1.1 26/29] drm/omap: venc: Use drm_display_mode natively

2018-12-10 Thread Sebastian Reichel
Hi, On Thu, Dec 06, 2018 at 06:23:46PM +0200, Laurent Pinchart wrote: > Replace internal usage of struct videomode with struct drm_display_mode > in order to avoid converting needlessly between the data structures. > > Signed-off-by: Laurent Pinchart > --- > Changes since v1: > > - Set

Re: [PATCH 03/29] drm/omap: venc: Remove wss_data field from venc_device structure

2018-12-10 Thread Sebastian Reichel
On Wed, Dec 05, 2018 at 04:59:56PM +0200, Laurent Pinchart wrote: > The venc_device structure wss_data field is set to 0 and never otherwise > modified, remove it. > > Signed-off-by: Laurent Pinchart > --- Reviewed-by: Sebastian Reichel -- Sebastian > drivers/gpu/drm/omapdrm/dss/venc.c | 11

Re: [PATCH 04/29] drm/omap: Use atomic suspend/resume helpers

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 04:59:57PM +0200, Laurent Pinchart wrote: > Instead of rolling out custom suspend/resume implementations based on > state information stored in the driver's data structures, use the atomic > suspend/resume helpers that rely on a DRM atomic state object. > >

Re: [PATCH] drm/omap: sharp ls037v7dw01: restore optional GPIOs

2018-12-10 Thread Tony Lindgren
* Russell King [181207 21:24]: > The binding document for this device says that all GPIOs are optional, > but the driver fails to bind on OMAP3 LDP, reporting: > > panel-sharp-ls037v7dw01: probe of display failed with error -2 > > Unfortunately, commit ca8c67dafdb7 ("fbdev: omap2: improve usage

Re: [PATCH 24/29] drm/omap: Factor out common mode validation code

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:17PM +0200, Laurent Pinchart wrote: > The encoder .atomic_check() and connector .mode_valid() operations both > walk through the dss devices in the pipeline to validate the mode. > Factor out the common code in a new omap_drm_connector_mode_fixup() > function. >

Re: [PATCH RFC 00/15] Zero ****s, hugload of hugs <3

2018-12-10 Thread Eric Curtin
Hi Guys, I initially thought these patches were a joke. But I guess they are not. I suppose 2018 is the year everything became offensive. Could we avoid the s/fuck/hug/g though? I have nothing against re-wording this stuff to remove the curse word, but it should at least make sense. What's

Re: [PATCH 21/29] drm/omap: Remove src field from omap_dss_device structure

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:14PM +0200, Laurent Pinchart wrote: > The field is only used to check whether the device is connected, and we > can do so by checking the dss field instead. Remove the src field. > > Signed-off-by: Laurent Pinchart > --- Reviewed-by: Sebastian Reichel --

Re: [PATCH 01/29] drm/omap: Remove declaration of nonexisting function

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 04:59:54PM +0200, Laurent Pinchart wrote: > The omap_connector_attached_encoder() doesn't exist anymore, remove its > declaration from omap_connector.h. > > Signed-off-by: Laurent Pinchart > --- Reviewed-by: Sebastian Reichel -- Sebastian >

Re: [PATCH v5 02/12] gpu: ipu-csi: Swap fields according to input/output field types

2018-12-10 Thread Steve Longerbeam
Hi Philipp, can you review this patch and give it your ack? Thanks, Steve On 10/16/18 5:00 PM, Steve Longerbeam wrote: The function ipu_csi_init_interface() was inverting the F-bit for NTSC case, in the CCIR_CODE_1/2 registers. The result being that for NTSC bottom-top field order, the CSI

Re: [PATCH 09/29] drm/omap: Reverse direction of the DSS device enable/disable operations

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:02PM +0200, Laurent Pinchart wrote: > The omapdrm and omapdss drivers are architectured based on display > pipelines made of multiple components handled from sink (display) to > source (DSS output). This is incompatible with the DRM bridge and panel > APIs that

Re: [PATCH v3 4/9] drm/rockchip/rockchip_drm_gem.c: Convert to use vm_insert_range

2018-12-10 Thread Souptick Joarder
On Fri, Dec 7, 2018 at 8:20 PM Robin Murphy wrote: > > On 06/12/2018 18:42, Souptick Joarder wrote: > > Convert to use vm_insert_range() to map range of kernel > > memory to user vma. > > > > Signed-off-by: Souptick Joarder > > Tested-by: Heiko Stuebner > > Acked-by: Heiko Stuebner > > --- > >

Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel

2018-12-10 Thread Kent Overstreet
On Thu, Dec 06, 2018 at 12:32:47PM +, Kieran Bingham wrote: > Oh - although, yes - there are some good concepts there - but I'm a bit > weary of how easy it would be to 'run' the said test against multiple > kernel version libraries... there would be a lot of possible ABI > conflicts perhaps.

Re: [PATCH 02/29] drm/omap: Remove unused kobj field from struct omap_dss_device

2018-12-10 Thread Sebastian Reichel
On Wed, Dec 05, 2018 at 04:59:55PM +0200, Laurent Pinchart wrote: > The kobj field from struct omap_dss_device is not used. Remove it. > > Signed-off-by: Laurent Pinchart > --- Reviewed-by: Sebastian Reichel -- Sebastian > drivers/gpu/drm/omapdrm/dss/omapdss.h | 2 -- > 1 file changed, 2

[PATCH] video: offb: Pass actual name in offb_init_palette_hacks

2018-12-10 Thread Mathieu Malaterre
This is a partial revert of commit 5c63e407aaab ("fbdev: Convert to using %pOFn instead of device_node.name"). This is the minimal work to get a Mac Mini G4 back to a bootable state. The function offb_init_palette_hacks would need to handle the case where `name` has been set to NULL. Cc: Rob

Re: [PATCH v3 1/9] mm: Introduce new vm_insert_range API

2018-12-10 Thread Matthew Wilcox
On Fri, Dec 07, 2018 at 03:34:56PM +, Robin Murphy wrote: > > +int vm_insert_range(struct vm_area_struct *vma, unsigned long addr, > > + struct page **pages, unsigned long page_count) > > +{ > > + unsigned long uaddr = addr; > > + int ret = 0, i; > > Some of the sites

Re: [PATCH 07/29] drm/omap: Remove connection checks from display .enable() and .remove()

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:00PM +0200, Laurent Pinchart wrote: > The displays (connectors, panels and encoders) return an error from > their .enable() handler when the dss device is not connected. They also > disconnect the dss device explicitly from their .remove() handler if it > is

Re: [PATCH 12/29] drm/omap: Expose DRM modes instead of timings in display devices

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:05PM +0200, Laurent Pinchart wrote: > omap_dss_device operations expose fixed video timings through a > .get_timings() operation that return a single timing for the device. To > prepare for the move to drm_bridge, modify the API to instead add DRM > modes

[PATCH v2 2/3] ACPI / PMIC: Implement exec_mipi_pmic_seq_element for CHT Whiskey Cove PMIC

2018-12-10 Thread Andy Shevchenko
> Implement the exec_mipi_pmic_seq_element callback for the CHT Whiskey Cove > PMIC. > On some CHT devices this fixes the LCD panel not lighting up when it was > not initialized by the GOP, because an external monitor was plugged in and > the GOP initialized only the external monitor. > + /*

[PATCH] drm/omap: sharp ls037v7dw01: restore optional GPIOs

2018-12-10 Thread Russell King
The binding document for this device says that all GPIOs are optional, but the driver fails to bind on OMAP3 LDP, reporting: panel-sharp-ls037v7dw01: probe of display failed with error -2 Unfortunately, commit ca8c67dafdb7 ("fbdev: omap2: improve usage of gpiod API") removed the -ENOENT handling

Re: [PATCH 10/29] drm/omap: Remove omap_dss_device dst field

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:03PM +0200, Laurent Pinchart wrote: > The field is only used in a safety check during device > connection/disconnection, where the src field can be easily used > instead. Remove it and use src. > > Signed-off-by: Laurent Pinchart > --- Reviewed-by: Sebastian

[PATCH -next] drm/amdgpu: remove set but not used variable 'amdgpu_connector'

2018-12-10 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/amdgpu_display.c: In function 'amdgpu_display_crtc_scaling_mode_fixup': drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:675:27: warning: variable 'amdgpu_connector' set but not used [-Wunused-but-set-variable] It never used

[PATCH 5/5] ARM: dts: meson8b: add the Mali-450 MP2 GPU

2018-12-10 Thread Martin Blumenstingl
Add the Mali-450 GPU and it's OPP table for Meson8. The GPU uses two pixel processors in this configuration. The OPP table is taken from the 3.10 vendor kernel which uses the following table: FCLK_DEV5 | 1, /* 255 Mhz */ FCLK_DEV7 | 0, /* 364 Mhz */ FCLK_DEV3 | 1, /* 425 Mhz */

[PATCH -next] drm/ast: Remove set but not used variable 'bo'

2018-12-10 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/ast/ast_fb.c: In function 'astfb_create': drivers/gpu/drm/ast/ast_fb.c:194:17: warning: variable 'bo' set but not used [-Wunused-but-set-variable] It never used since introduction in commit 312fec1405dd ("drm: Initial KMS driver for

[PATCH 0/5] Meson (32-bit): add support for the Mali GPU

2018-12-10 Thread Martin Blumenstingl
This series adds support for the Mali-450 GPU on Meson8 and Meson8b. Meson6 uses a Mali-400 GPU but since we don't have a clock driver (and I don't have a device for testing) Meson6 is left out in this series. Meson8 uses a Mali-450 MP6 with six pixel processors. Meson8b (as cost-reduced SoC)

Re: [PATCH 25/29] drm/omap: Pass drm_display_mode to .check_timings() and .set_timings()

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:18PM +0200, Laurent Pinchart wrote: > The omap_dss_device .check_timings() and .set_timings() operations > operate on struct videomode, while the DRM API operates on struct > drm_display_mode. This forces conversion from to videomode in the > callers. While

[PATCH 3/5] clk: meson: meson8b: add the GPU clock tree

2018-12-10 Thread Martin Blumenstingl
Add the GPU clock tree on Meson8, Meson8b and Meson8m2. The GPU clock tree on Meson8b and Meson8m2 is almost identical to the one one GXBB: - there's a glitch-free mux at HHI_MALI_CLK_CNTL[31] - there are two identical parents for this mux: mali_0 and mali_1, each with a gate, divider and mux -

[PATCH 1/5] dt-bindings: gpu: mali-utgard: add Amlogic Meson8 and Meson8b compatible

2018-12-10 Thread Martin Blumenstingl
Add a compatible string for the Mali-450 GPU on Amlogic Meson8 and Meson8b SoCs. Meson8 uses an "MP6" variant with six pixel processors while Meson8b (as cost-reduced SoC) uses an "MP2" variant with two pixel processors. Both have a reset line to bring the GPU into a well-defined state.

Re: [PATCH v3 1/9] mm: Introduce new vm_insert_range API

2018-12-10 Thread Souptick Joarder
On Fri, Dec 7, 2018 at 10:41 PM Matthew Wilcox wrote: > > On Fri, Dec 07, 2018 at 03:34:56PM +, Robin Murphy wrote: > > > +int vm_insert_range(struct vm_area_struct *vma, unsigned long addr, > > > + struct page **pages, unsigned long page_count) > > > +{ > > > + unsigned

Re: [PATCH 29/29] drm/omap: Refactor initialization sequence

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:22PM +0200, Laurent Pinchart wrote: > The omapdrm driver initialization procedure starts by connecting all > available pipelines, gathering related information (such as output and > display DSS devices, and DT aliases), sorting them by alias, and finally >

Re: [PATCH 16/29] drm/omap: Don't pass display pointer to encoder init function

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:09PM +0200, Laurent Pinchart wrote: > The display isn't used by the encoder implementation, don't pass it to > the initialization function and store it internally needlessly. > > Signed-off-by: Laurent Pinchart > --- Reviewed-by: Sebastian Reichel --

Re: [PATCH 23/29] drm/omap: venc: Simplify mode setting by caching configuration

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:16PM +0200, Laurent Pinchart wrote: > The mode setting handler of the VENC stores the video mode internally, > to then convert it to a configuration when programming the hardware. The > stored mode is otherwise unused. Cache the configuration directly > instead.

Re: [PATCH 22/29] drm/omap: Move DISPC timing checks to CRTC .mode_valid() operation

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:15PM +0200, Laurent Pinchart wrote: > The DISPC timings checks relate to the CRTC, but they're performed in > the encoder and connector .atomic_check() and .mode_valid() operations. > Move them to the CRTC .mode_valid() operation. > > Signed-off-by: Laurent

Re: [PATCH 27/29] drm/omap: Store pixel clock instead of full mode in DPI and SDI encoders

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:20PM +0200, Laurent Pinchart wrote: > The DPI and SDI encoders store the full videomode upon mode set, to only > use the value of the pixel clock when enabling the encoder. This wastes > memory. Store the pixel clock value only. > > Signed-off-by: Laurent

Re: [PATCH 15/29] drm/omap: venc: List both PAL and NTSC modes

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:08PM +0200, Laurent Pinchart wrote: > The TV encoder supports both PAL and NTSC modes, but when queried for > the list of modes it supports, only the currently selected mode is > reported. Fix it and report the two modes unconditionally. > > Signed-off-by:

Re: [PATCH 17/29] drm/omap: Move display alias ID to omap_drm_pipeline

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:10PM +0200, Laurent Pinchart wrote: > The DT bindings for the OMAP DSS allow assigning numerical IDs to > display outputs through display entries in the alias node. The driver > uses this information to sort pipelines according to the order specified > in DT,

Re: [PATCH v2 2/3] ACPI / PMIC: Implement exec_mipi_pmic_seq_element for CHT Whiskey Cove PMIC

2018-12-10 Thread Mika Westerberg
On Thu, Dec 06, 2018 at 02:47:04PM +0100, Hans de Goede wrote: > Implement the exec_mipi_pmic_seq_element callback for the CHT Whiskey Cove > PMIC. > > On some CHT devices this fixes the LCD panel not lighting up when it was > not initialized by the GOP, because an external monitor was plugged in

Re: [PATCH 05/29] drm/omap: Move common display enable/disable code to encoder

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 04:59:58PM +0200, Laurent Pinchart wrote: > All .enable() and .disable() handlers for panels and connectors share > common code that validates and updates the device's state. Move it to > common locations in the omap_encoder_enable() and omap_encoder_disable() >

Re: [PATCH 06/29] drm/omap: Remove connection checks from internal encoders .enable()

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 04:59:59PM +0200, Laurent Pinchart wrote: > The internal encoders return an error from their .enable() handler when > their are not connected to a dss manager. As the flag used is set and > cleared in the connect and disconnect handlers, this effectively checks >

[PATCH 2/5] clk: meson: meson8b: use a separate clock table for Meson8

2018-12-10 Thread Martin Blumenstingl
The Meson8 SoC is slightly different compared to Meson8b and Meson8m2 because it does not have the glitch-free Mali GPU clock mux. For Meson8b and Meson8m2 there are currently no known differences. Add a separate clk_hw_onecell_data table for Meson8 so these differences can be implemented. For

Re: [PATCH v3 1/9] mm: Introduce new vm_insert_range API

2018-12-10 Thread Souptick Joarder
On Sat, Dec 8, 2018 at 2:40 AM Robin Murphy wrote: > > On 2018-12-07 7:28 pm, Souptick Joarder wrote: > > On Fri, Dec 7, 2018 at 10:41 PM Matthew Wilcox wrote: > >> > >> On Fri, Dec 07, 2018 at 03:34:56PM +, Robin Murphy wrote: > +int vm_insert_range(struct vm_area_struct *vma, unsigned

[PATCH 4/5] ARM: dts: meson8: add the Mali-450 MP6 GPU

2018-12-10 Thread Martin Blumenstingl
Add the Mali-450 GPU and it's OPP table for the Meson8 and Meson8m2 (the latter inherits meson8.dtsi). These SoCs have a Mali-450 GPU with six pixel processors. The OPP table is taken from the 3.10 vendor kernel which uses the following table: FCLK_DEV7 | 1, /* 182.1 Mhz */ FCLK_DEV4 | 1,

Re: [PATCH 20/29] drm/omap: Notify all devices in the pipeline of output disconnection

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:13PM +0200, Laurent Pinchart wrote: > For HDMI pipelines, when the output gets disconnected the device > handling CEC needs to be notified. Instead of guessing which device that > would be (and sometimes getting it wrong), notify all devices in the > pipeline. >

Re: [PATCH 13/29] drm/omap: Merge display .get_modes() and .get_size() operations

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:06PM +0200, Laurent Pinchart wrote: > Now that the .get_modes() operations takes a drm_connector and fills it > with modes, it becomes easy to fill display information in the same > operation without requiring a separate .get_size() opearation. > >

[PATCH -next] drm/amdgpu: remove set but not used variable 'grbm_soft_reset'

2018-12-10 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In function 'gfx_v8_0_pre_soft_reset': drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c:4950:27: warning: variable 'srbm_soft_reset' set but not used [-Wunused-but-set-variable] drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c: In

TK1: DRM, Nouveau and VIC

2018-12-10 Thread Marcel Ziswiler
Hi Thierry et al. I noticed that since commit 3dde5a2342cd ("ARM: tegra: Add VIC on Tegra124") graphics on Apalis TK1 is broken. During boot it fails loading the vic firmware: [1.595824] tegra-vic 5434.vic: Direct firmware load for nvidia/tegra124/vic03_ucode.bin failed with error -2 [

Re: [PATCH 08/29] drm/omap: Remove enable checks from display .enable() and .remove()

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:01PM +0200, Laurent Pinchart wrote: > The displays (connectors, panels and encoders) bail out from their > .enable() and .disable() handlers if the dss device is already enabled > or disabled. Those safety checks are not needed when the functions are > called

Re: [PATCH 19/29] drm/omap: panel-dsi-cm: Store source pointer internally

2018-12-10 Thread Sebastian Reichel
Hi, On Wed, Dec 05, 2018 at 05:00:12PM +0200, Laurent Pinchart wrote: > The source pointer will be removed to the omap_dss_device structure. > Store it internally in the DSI panel driver data. > > Signed-off-by: Laurent Pinchart > --- Reviewed-by: Sebastian Reichel -- Sebastian >

Re: [PATCH 14/29] drm/omap: Add a dss device operation flag for .get_modes()

2018-12-10 Thread Sebastian Reichel
On Wed, Dec 05, 2018 at 05:00:07PM +0200, Laurent Pinchart wrote: > Instead of manually iterating over the dss devices in the pipeline to > find the first one that implements the .get_modes() operation, add a new > operation flag for .get_modes() and use the omap_connector_find_device() > helper

[PATCH] drm/omap: Factor out common mode validation code

2018-12-10 Thread Laurent Pinchart
The encoder .atomic_check() and connector .mode_valid() operations both walk through the dss devices in the pipeline to validate the mode. Factor out the common code in a new omap_drm_connector_mode_fixup() function. Signed-off-by: Laurent Pinchart Reviewed-by: Sebastian Reichel --- Changes

Re: [PATCH 24/29] drm/omap: Factor out common mode validation code

2018-12-10 Thread Laurent Pinchart
Hi Sebastian, On Monday, 10 December 2018 00:19:22 EET Sebastian Reichel wrote: > Hi, > > On Wed, Dec 05, 2018 at 05:00:17PM +0200, Laurent Pinchart wrote: > > The encoder .atomic_check() and connector .mode_valid() operations both > > walk through the dss devices in the pipeline to validate the

[Bug 108487] Wayland compositors are unable to use hardware acceleration on i915

2018-12-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108487 --- Comment #12 from Pekka Paalanen --- (In reply to magiblot from comment #11) > Is there any simple way (e.g. using a PKGBUILD file) to compile weston with > undefined HAVE_GBM_MODIFIERS? Not really, it needs to be patched out. There should

[PATCH] drivers/base: use a worker for sysfs unbind

2018-12-10 Thread Daniel Vetter
Drivers might want to remove some sysfs files, which needs the same locks and ends up angering lockdep. Relevant snippet of the stack trace: kernfs_remove_by_name_ns+0x3b/0x80 bus_remove_driver+0x92/0xa0 acpi_video_unregister+0x24/0x40 i915_driver_unload+0x42/0x130 [i915]

Re: [PATCH v1 9/9] MAINTAINERS: Add maintainer for arm komeda driver

2018-12-10 Thread james qian wang (Arm Technology China)
On Wed, Dec 05, 2018 at 07:59:17PM +0800, Brian Starkey wrote: > Hi James, > > On Wed, Dec 05, 2018 at 10:20:13AM +, james qian wang (Arm Technology > China) wrote: > > Signed-off-by: James (Qian) Wang > > --- > > MAINTAINERS | 8 > > 1 file changed, 8 insertions(+) > > > > diff

  1   2   >