Re: [PATCH 07/11] mtd: rawnand: Drop obsolete JZ4740 NAND driver

2019-07-30 Thread Paul Burton
Hello, Paul Cercueil wrote: > It has been replaced with the newer Ingenic NAND driver. > > Signed-off-by: Paul Cercueil > Tested-by: Artur Rojek > Acked-by: Miquel Raynal Applied to mips-next. Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then pl

Re: [PATCH 09/11] hwmon: Drop obsolete JZ4740 driver

2019-07-30 Thread Paul Burton
Hello, Paul Cercueil wrote: > The JZ4740 boards now use the iio-hwmon driver. > > Signed-off-by: Paul Cercueil > Tested-by: Artur Rojek > Acked-by: Guenter Roeck Applied to mips-next. Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please emai

Re: [PATCH 11/11] MIPS: jz4740: Drop dead code

2019-07-30 Thread Paul Burton
Hello, Paul Cercueil wrote: > Remove all the source files that are not used anywhere anymore. > > Signed-off-by: Paul Cercueil > Tested-by: Artur Rojek Applied to mips-next. Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email paul.bur.

Re: [PATCH 02/11] MIPS: qi_lb60: Migrate to devicetree

2019-07-30 Thread Paul Burton
Hello, Paul Cercueil wrote: > Move all the platform data to devicetree. > > The only bit dropped is the PWM beeper, which requires the PWM driver > to be updated. I figured it's okay to remove it here since it's really > a non-critical device, and it'll be re-introduced soon enough. > > The othe

Re: [PATCH 08/11] power/supply: Drop obsolete JZ4740 driver

2019-07-30 Thread Paul Burton
Hello, Paul Cercueil wrote: > It has been replaced with the more mature ingenic-battery driver. > > Signed-off-by: Paul Cercueil > Tested-by: Artur Rojek > Acked-by: Sebastian Reichel Applied to mips-next. Thanks, Paul [ This message was auto-generated; if you believe anything is incorr

Re: [PATCH 04/11] ASoC: jz4740: Drop lb60 board code

2019-07-30 Thread Paul Burton
Hello, Paul Cercueil wrote: > The board now uses the simple-audio-card driver. > > Signed-off-by: Paul Cercueil > Tested-by: Artur Rojek > Acked-by: Mark Brown Applied to mips-next. Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email

Re: [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-07-30 Thread Thomas Zimmermann
Am 29.07.19 um 11:51 schrieb kernel test robot: > Greeting, > > FYI, we noticed a -18.8% regression of vm-scalability.median due to commit:> > > commit: 90f479ae51afa45efab97afdde9b94b9660dd3e4 ("drm/mgag200: Replace > struct mga_fbdev with generic framebuffer emulation") > https://kernel.google

Re: [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-07-30 Thread Daniel Vetter
On Tue, Jul 30, 2019 at 7:50 PM Thomas Zimmermann wrote: > Am 29.07.19 um 11:51 schrieb kernel test robot: > > Greeting, > > > > FYI, we noticed a -18.8% regression of vm-scalability.median due to commit:> > > > > commit: 90f479ae51afa45efab97afdde9b94b9660dd3e4 ("drm/mgag200: Replace > > struct

Re: [PATCH v2 6/7] drm/panfrost: Add support for GPU heap allocations

2019-07-30 Thread Rob Herring
On Mon, Jul 29, 2019 at 1:18 AM Steven Price wrote: > > On 25/07/2019 18:40, Alyssa Rosenzweig wrote: > >> Sorry, I was being sloppy again![1] I meant CPU mmapped. > > > > No worries, just wanted to check :) > > > >> Apparently the blob in some cases creates a SAME_VA GROW_ON_GPF buffer - > >> sin

Re: [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-07-30 Thread Thomas Zimmermann
Hi Am 30.07.19 um 20:12 schrieb Daniel Vetter: > On Tue, Jul 30, 2019 at 7:50 PM Thomas Zimmermann wrote: >> Am 29.07.19 um 11:51 schrieb kernel test robot: >>> Greeting, >>> >>> FYI, we noticed a -18.8% regression of vm-scalability.median due to commit:> >>> >>> commit: 90f479ae51afa45efab97afdd

Re: [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-07-30 Thread Daniel Vetter
On Tue, Jul 30, 2019 at 8:50 PM Thomas Zimmermann wrote: > > Hi > > Am 30.07.19 um 20:12 schrieb Daniel Vetter: > > On Tue, Jul 30, 2019 at 7:50 PM Thomas Zimmermann > > wrote: > >> Am 29.07.19 um 11:51 schrieb kernel test robot: > >>> Greeting, > >>> > >>> FYI, we noticed a -18.8% regression of

Re: [PATCH v2 6/7] drm/panfrost: Add support for GPU heap allocations

2019-07-30 Thread Rob Herring
On Tue, Jul 30, 2019 at 12:55 PM Alyssa Rosenzweig wrote: > > > In any case, per process AS is a prerequisite to all this. > > Oh, I hadn't realized that was still a todo. In the meantime, what's the > implication of shipping without it? (I.e. in which threat model are > users vulnerable without i

[PATCH] video/fbdev/aty128fb: Remove dead code

2019-07-30 Thread Souptick Joarder
This is dead code since 3.15. If there is no plan to use it further, this can be removed forever. Signed-off-by: Souptick Joarder --- drivers/video/fbdev/aty/aty128fb.c | 18 -- drivers/video/fbdev/aty/atyfb_base.c | 29 - 2 files changed, 47 deletio

Re: [PATCH 1/2] dma-buf: add dma_fence_chain_for_each_unwrap helper

2019-07-30 Thread Chris Wilson
Quoting Christian König (2019-07-30 13:15:53) > +/** > + * dma_fence_chain_unwrap - unwrap chain node > + * @fence: fence which could be a chain node > + * > + * If the paramter is a chain node return the cotained fence, otherwise > return > + * the parameter itself. > + */ s/paramter/parameter/

[PATCH] video: fbdev:via: Remove dead code

2019-07-30 Thread Souptick Joarder
This is dead code since 3.15. If there is no plan to use it further, this can be removed forever. Signed-off-by: Souptick Joarder --- drivers/video/fbdev/via/via-core.c | 43 -- 1 file changed, 43 deletions(-) diff --git a/drivers/video/fbdev/via/via-core.c

[PATCH v5 13/29] compat_ioctl: move more drivers to compat_ptr_ioctl

2019-07-30 Thread Arnd Bergmann
The .ioctl and .compat_ioctl file operations have the same prototype so they can both point to the same function, which works great almost all the time when all the commands are compatible. One exception is the s390 architecture, where a compat pointer is only 31 bit wide, and converting it into a

[PATCH v5 16/29] compat_ioctl: move ATYFB_CLK handling to atyfb driver

2019-07-30 Thread Arnd Bergmann
These are two obscure ioctl commands, in a driver that only has compatible commands, so just let the driver handle this itself. Acked-by: Bartlomiej Zolnierkiewicz Signed-off-by: Arnd Bergmann --- drivers/video/fbdev/aty/atyfb_base.c | 12 +++- fs/compat_ioctl.c| 2

Re: [PATCH v2 6/7] drm/panfrost: Add support for GPU heap allocations

2019-07-30 Thread Rob Herring
On Thu, Jul 25, 2019 at 9:35 AM Steven Price wrote: > > On 25/07/2019 15:59, Steven Price wrote: > [...] > > It would appear that in the following call sgt==NULL: > >> ret = sg_alloc_table_from_pages(sgt, pages + page_offset, > >> NUM_FAULT_PAGES, 0, SZ_2M

Re: [PATCH v5 13/29] compat_ioctl: move more drivers to compat_ptr_ioctl

2019-07-30 Thread Dan Williams
On Tue, Jul 30, 2019 at 12:59 PM Arnd Bergmann wrote: > > The .ioctl and .compat_ioctl file operations have the same prototype so > they can both point to the same function, which works great almost all > the time when all the commands are compatible. > > One exception is the s390 architecture, wh

Re: [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-07-30 Thread Dave Airlie
On Wed, 31 Jul 2019 at 05:00, Daniel Vetter wrote: > > On Tue, Jul 30, 2019 at 8:50 PM Thomas Zimmermann wrote: > > > > Hi > > > > Am 30.07.19 um 20:12 schrieb Daniel Vetter: > > > On Tue, Jul 30, 2019 at 7:50 PM Thomas Zimmermann > > > wrote: > > >> Am 29.07.19 um 11:51 schrieb kernel test rob

Re: [GIT PULL] Please pull hmm changes

2019-07-30 Thread pr-tracker-bot
The pull request you sent on Tue, 30 Jul 2019 11:58:37 +: > git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus-hmm has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/515f12b9eeed35250d793b7c874707c33f7f6e05 Thank you! -- Deet-doot-dot, I am a

Re: [Nouveau] [PATCH 2/4] drm/nouveau: Fill out gem_object->resv

2019-07-30 Thread Ben Skeggs
On Thu, 25 Jul 2019 at 23:27, Daniel Vetter wrote: > > That way we can ditch our gem_prime_res_obj implementation. Since ttm > absolutely needs the right reservation object all the boilerplate is > already there and we just have to wire it up correctly. > > Note that gem/prime doesn't care when we

[Bug 110635] briefly flashing corruption when playing various OGL games

2019-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110635 --- Comment #11 from Marek Olšák --- I plan to disable SDMA image copies by default in dGPUs. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-d

[Bug 110575] [R9 380X] Artifacts in CSGO

2019-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110575 --- Comment #7 from Marek Olšák --- I plan to disable SDMA image copies by default on dGPUs. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-de

[Bug 110575] [R9 380X] Artifacts in CSGO

2019-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110575 --- Comment #8 from Sylvain BERTRAND --- On Tue, Jul 30, 2019 at 08:54:44PM +, bugzilla-dae...@freedesktop.org wrote: > I plan to disable SDMA image copies by default on dGPUs. Is there a plan to "standardize" tiling format of frame buffer?

Re: [Bug 110575] [R9 380X] Artifacts in CSGO

2019-07-30 Thread sylvain . bertrand
On Tue, Jul 30, 2019 at 08:54:44PM +, bugzilla-dae...@freedesktop.org wrote: > I plan to disable SDMA image copies by default on dGPUs. Is there a plan to "standardize" tiling format of frame buffer? (to dma the right format properly from one brand of gpus to another) -- Sylvain

[Bug 204181] NULL pointer dereference regression in amdgpu

2019-07-30 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204181 --- Comment #23 from Sergey Kondakov (virtuous...@gmail.com) --- (In reply to Nicholas Kazlauskas from comment #22) > Thanks for the log! > > I can reproduce the issue now by emulating the sequence using IGT. It > doesn't seem to show up in deskt

[PATCH] drm/msm: shake fist angrily at dma-mapping

2019-07-30 Thread Rob Clark
From: Rob Clark So, using dma_sync_* for our cache needs works out w/ dma iommu ops, but it falls appart with dma direct ops. The problem is that, depending on display generation, we can have either set of dma ops (mdp4 and dpu have iommu wired to mdss node, which maps to toplevel drm device, bu

[PATCH] drm: add cache support for arm64

2019-07-30 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark --- Not sure about 32b arm, but at least for aarch64 this is relatively easy. So lets at least enable for arm64. drivers/gpu/drm/drm_cache.c | 20 +--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_c

Re: [PATCH] drm: add cache support for arm64

2019-07-30 Thread Rob Clark
On Tue, Jul 30, 2019 at 4:01 PM Rob Clark wrote: > > From: Rob Clark > > Signed-off-by: Rob Clark > --- > Not sure about 32b arm, but at least for aarch64 this is relatively > easy. So lets at least enable for arm64. hmm, bleh, I thought this was too easy.. I hadn't noticed that (even though d

Re: [RFC PATCH 0/3] Propose new struct drm_mem_region

2019-07-30 Thread Brian Welty
On 7/30/2019 3:45 AM, Daniel Vetter wrote: > On Tue, Jul 30, 2019 at 12:24 PM Koenig, Christian > wrote: >> >> Am 30.07.19 um 11:38 schrieb Daniel Vetter: >>> On Tue, Jul 30, 2019 at 08:45:57AM +, Koenig, Christian wrote: Snipped the feedback on struct drm_mem_region. Will be easier to have

Re: [PATCH 08/13] mm: remove the mask variable in hmm_vma_walk_hugetlb_entry

2019-07-30 Thread Ralph Campbell
On 7/29/19 10:51 PM, Christoph Hellwig wrote: The pagewalk code already passes the value as the hmask parameter. Signed-off-by: Christoph Hellwig --- mm/hmm.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mm/hmm.c b/mm/hmm.c index f26d6abc4ed2..88b77a4a6a1e 1006

Re: [RFC PATCH 0/3] Propose new struct drm_mem_region

2019-07-30 Thread Brian Welty
On 7/30/2019 2:34 AM, Daniel Vetter wrote: > On Tue, Jul 30, 2019 at 08:45:57AM +, Koenig, Christian wrote: >> Yeah, that looks like a good start. Just a couple of random design >> comments/requirements. >> >> First of all please restructure the changes so that you more or less >> have the f

Re: [PATCH 1/9] mm: turn migrate_vma upside down

2019-07-30 Thread Ralph Campbell
On 7/29/19 7:28 AM, Christoph Hellwig wrote: There isn't any good reason to pass callbacks to migrate_vma. Instead we can just export the three steps done by this function to drivers and let them sequence the operation without callbacks. This removes a lot of boilerplate code as-is, and will a

[PATCH v2] drm/modes: Fix unterminated strncpy

2019-07-30 Thread Chuhong Yuan
strncpy(dest, src, strlen(src)) leads to unterminated dest, which is dangerous. Fix it by using strscpy. Signed-off-by: Chuhong Yuan --- Changes in v2: - Check whether mode_end + 1 exceeds the size of mode->name. drivers/gpu/drm/drm_modes.c | 4 +++- 1 file changed, 3 insertions(+), 1

Re: [PATCH 5/6] drm: uapi: add gdepaper uapi header

2019-07-30 Thread Jan Sebastian Götte
On 7/31/19 1:49 AM, Emil Velikov wrote: > On 2019/07/31, Jan Sebastian Götte wrote: >> Hi Emil, >> >> thank you for your comments. >> >> On 7/30/19 11:08 PM, Emil Velikov wrote: >>> On 2019/07/30, Jan Sebastian Götte wrote: Signed-off-by: Jan Sebastian Götte --- include/uapi/drm/gd

[PATCH] drm: use trace_printk rather than printk in drm_dbg.

2019-07-30 Thread Fuqian Huang
In drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c, amdgpu_ih_process calls DRM_DEBUG which calls drm_dbg and finally calls printk. As amdgpu_ih_process is called from an interrupt handler, and interrupt handler should be short as possible. As printk may lead to bogging down the system or can even create a

[Bug 109887] vega56 undervolting/overclocking voltage issues

2019-07-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109887 --- Comment #8 from Andrew Sheldon --- I also can confirm the problem, and it seems to have gotten worse since 5.3.0-rcX. In past kernels, you could kind of work around it by setting slightly less conservative undervolts and it would work. If y

Re: [PATCH] drm: use trace_printk rather than printk in drm_dbg.

2019-07-30 Thread Joe Perches
On Wed, 2019-07-31 at 10:45 +0800, Fuqian Huang wrote: > In drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c, > amdgpu_ih_process calls DRM_DEBUG which calls drm_dbg and > finally calls printk. > As amdgpu_ih_process is called from an interrupt handler, > and interrupt handler should be short as possible. >

[PATCH v2] drm: use trace_printk rather than printk in drm_dbg.

2019-07-30 Thread Fuqian Huang
In drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c, amdgpu_ih_process calls DRM_DEBUG which calls drm_dbg and finally calls printk. As amdgpu_ih_process is called from an interrupt handler, and interrupt handler should be short as possible. As printk may lead to bogging down the system or can even create a

Re: [PATCH v2] drm: use trace_printk rather than printk in drm_dbg.

2019-07-30 Thread Joe Perches
On Wed, 2019-07-31 at 14:24 +0800, Fuqian Huang wrote: > In drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c, > amdgpu_ih_process calls DRM_DEBUG which calls drm_dbg and > finally calls printk. > As amdgpu_ih_process is called from an interrupt handler, > and interrupt handler should be short as possible. >

Re: [PATCH 5/6] drm: uapi: add gdepaper uapi header

2019-07-30 Thread Daniel Vetter
On Wed, Jul 31, 2019 at 4:01 AM Jan Sebastian Götte wrote: > > On 7/31/19 1:49 AM, Emil Velikov wrote: > > On 2019/07/31, Jan Sebastian Götte wrote: > >> Hi Emil, > >> > >> thank you for your comments. > >> > >> On 7/30/19 11:08 PM, Emil Velikov wrote: > >>> On 2019/07/30, Jan Sebastian Götte wrot

Re: [RFC PATCH 0/3] Propose new struct drm_mem_region

2019-07-30 Thread Koenig, Christian
Am 31.07.19 um 02:51 schrieb Brian Welty: [SNIP] >> +/* >> + * Memory types for drm_mem_region >> + */ > #define DRM_MEM_SWAP? btw what did you have in mind for this? Since we use shmem we kinda don't know whether the BO is actually swapped out or not, at least on the

<    1   2