Re: [PATCH v6 1/8] dt-bindings: display: renesas,cmm: Add R-Car CMM documentation

2019-10-17 Thread Rob Herring
On Wed, 16 Oct 2019 10:55:41 +0200, Jacopo Mondi wrote: > Add device tree bindings documentation for the Renesas R-Car Display > Unit Color Management Module. > > CMM is the image enhancement module available on each R-Car DU video > channel on R-Car Gen2 and Gen3 SoCs (V3H and V3M excluded). > >

Re: [RFC] new uapi policy for drm

2019-10-17 Thread Alex Deucher
On Thu, Oct 17, 2019 at 9:58 AM Daniel Vetter wrote: > > On Wed, Oct 16, 2019 at 04:00:25PM -0400, Alex Deucher wrote: > > On Mon, Oct 14, 2019 at 2:16 PM Dave Airlie wrote: > > > > > > I've kicked this around in my head over the past few weeks but wanted > > > to get some feedback on whether it'

Re: [PATCH v1] drm/mipi_dbi: Use simple right shift instead of double negation

2019-10-17 Thread Sean Paul
On Thu, Oct 17, 2019 at 05:00:54PM +0300, Andy Shevchenko wrote: > On Thu, Oct 17, 2019 at 09:10:52AM -0400, Sean Paul wrote: > > On Thu, Oct 17, 2019 at 02:49:12PM +0300, Andy Shevchenko wrote: > > > GCC complains about dubious bitwise OR operand: > > > > > > drivers/gpu/drm/drm_mipi_dbi.c:1024:4

Re: [PATCH V5 2/3] dt-bindings: Add Logic PD Type 28 display panel

2019-10-17 Thread Rob Herring
On Wed, Oct 16, 2019 at 09:55:11AM -0500, Adam Ford wrote: > On Wed, Oct 16, 2019 at 9:40 AM Laurent Pinchart > wrote: > > > > Hi Adam, > > > > Thank you for the patch. > > > > On Wed, Oct 16, 2019 at 08:51:46AM -0500, Adam Ford wrote: > > > This patch adds documentation of device tree bindings fo

Re: [PATCH V5 2/3] dt-bindings: Add Logic PD Type 28 display panel

2019-10-17 Thread Adam Ford
On Thu, Oct 17, 2019 at 9:37 AM Rob Herring wrote: > > On Wed, Oct 16, 2019 at 09:55:11AM -0500, Adam Ford wrote: > > On Wed, Oct 16, 2019 at 9:40 AM Laurent Pinchart > > wrote: > > > > > > Hi Adam, > > > > > > Thank you for the patch. > > > > > > On Wed, Oct 16, 2019 at 08:51:46AM -0500, Adam Fo

Re: [PATCH] backlight: pwm_bl: configure pwm only once per backlight toggle

2019-10-17 Thread Adam Ford
On Thu, Oct 17, 2019 at 3:11 AM Uwe Kleine-König wrote: > > A previous change in the pwm core (namely 01ccf903edd6 ("pwm: Let > pwm_get_state() return the last implemented state")) changed the > semantic of pwm_get_state() and disclosed an (as it seems) common > problem in lowlevel PWM drivers. By

Re: [PATCH V4 3/6] mdev: introduce device specific ops

2019-10-17 Thread Cornelia Huck
On Thu, 17 Oct 2019 18:48:33 +0800 Jason Wang wrote: > Currently, except for the create and remove, the rest of > mdev_parent_ops is designed for vfio-mdev driver only and may not help > for kernel mdev driver. With the help of class id, this patch > introduces device specific callbacks inside md

Re: [PATCH] backlight: pwm_bl: configure pwm only once per backlight toggle

2019-10-17 Thread Thierry Reding
On Thu, Oct 17, 2019 at 03:58:25PM +0200, Michal Vokáč wrote: > On 17. 10. 19 14:59, Thierry Reding wrote: > > On Thu, Oct 17, 2019 at 02:09:17PM +0200, Uwe Kleine-König wrote: > > > On Thu, Oct 17, 2019 at 01:11:31PM +0200, Thierry Reding wrote: > > > > On Thu, Oct 17, 2019 at 12:11:16PM +0200, Uw

Re: [Lima] [PATCH v4 0/3] drm/lima: simplify driver by using more drm helpers

2019-10-17 Thread Qiang Yu
Thanks, applied to drm-misc-next. Regards, Qiang On Mon, Oct 14, 2019 at 12:21 PM Vasily Khoruzhick wrote: > > On Thu, Oct 10, 2019 at 7:02 AM Qiang Yu wrote: > > > > By using shared drm helpers: > > 1. drm_gem_(un)lock_reservations > > 2. drm_gem_shmem_helpers > > we can simplify lima driver a

Re: [PATCH v2 15/15] staging/mgakms: Update matroxfb driver code for DRM

2019-10-17 Thread kbuild test robot
Hi Thomas, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.4-rc3 next-20191017] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option

Re: [PATCH v2 15/15] staging/mgakms: Update matroxfb driver code for DRM

2019-10-17 Thread kbuild test robot
Hi Thomas, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.4-rc3 next-20191014] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify

Re: [PATCH hmm 00/15] Consolidate the mmu notifier interval_tree and locking

2019-10-17 Thread Yang, Philip
On 2019-10-17 4:54 a.m., Christian König wrote: > Am 16.10.19 um 18:04 schrieb Jason Gunthorpe: >> On Wed, Oct 16, 2019 at 10:58:02AM +0200, Christian König wrote: >>> Am 15.10.19 um 20:12 schrieb Jason Gunthorpe: From: Jason Gunthorpe 8 of the mmu_notifier using drivers (i915_gem

Re: [PATCH v1] drm/mipi_dbi: Use simple right shift instead of double negation

2019-10-17 Thread Noralf Trønnes
Den 17.10.2019 13.49, skrev Andy Shevchenko: > GCC complains about dubious bitwise OR operand: > > drivers/gpu/drm/drm_mipi_dbi.c:1024:49: warning: dubious: x | !y > CC [M] drivers/gpu/drm/drm_mipi_dbi.o > > As long as buffer is consist of byte (u8) values, we may use > simple right shift an

Re: [PATCH hmm 00/15] Consolidate the mmu notifier interval_tree and locking

2019-10-17 Thread Koenig, Christian
Am 17.10.2019 18:26 schrieb "Yang, Philip" : On 2019-10-17 4:54 a.m., Christian König wrote: > Am 16.10.19 um 18:04 schrieb Jason Gunthorpe: >> On Wed, Oct 16, 2019 at 10:58:02AM +0200, Christian König wrote: >>> Am 15.10.19 um 20:12 schrieb Jason Gunthorpe: From: Jason Gunthorpe >>>

Re: [PATCH hmm 00/15] Consolidate the mmu notifier interval_tree and locking

2019-10-17 Thread Koenig, Christian
Sending once more as text. Am 17.10.19 um 18:26 schrieb Yang, Philip: > On 2019-10-17 4:54 a.m., Christian König wrote: >> Am 16.10.19 um 18:04 schrieb Jason Gunthorpe: >>> On Wed, Oct 16, 2019 at 10:58:02AM +0200, Christian König wrote: Am 15.10.19 um 20:12 schrieb Jason Gunthorpe: > Fro

Re: [PATCH v4 06/11] drm/ttm: factor out ttm_bo_mmap_vma_setup

2019-10-17 Thread Koenig, Christian
Am 17.10.19 um 14:30 schrieb Gerd Hoffmann: > On Thu, Oct 17, 2019 at 11:06:33AM +, Koenig, Christian wrote: >> Am 16.10.19 um 14:18 schrieb Christian König: >>> Am 16.10.19 um 13:51 schrieb Gerd Hoffmann: Factor out ttm vma setup to a new function. Reduces code duplication a bit. >>>

Re: [PATCH] backlight: pwm_bl: configure pwm only once per backlight toggle

2019-10-17 Thread Adam Ford
On Thu, Oct 17, 2019 at 10:14 AM Thierry Reding wrote: > > On Thu, Oct 17, 2019 at 03:58:25PM +0200, Michal Vokáč wrote: > > On 17. 10. 19 14:59, Thierry Reding wrote: > > > On Thu, Oct 17, 2019 at 02:09:17PM +0200, Uwe Kleine-König wrote: > > > > On Thu, Oct 17, 2019 at 01:11:31PM +0200, Thierry

Re: [PATCH] backlight: pwm_bl: configure pwm only once per backlight toggle

2019-10-17 Thread Thierry Reding
On Thu, Oct 17, 2019 at 12:07:21PM -0500, Adam Ford wrote: > On Thu, Oct 17, 2019 at 10:14 AM Thierry Reding > wrote: > > > > On Thu, Oct 17, 2019 at 03:58:25PM +0200, Michal Vokáč wrote: > > > On 17. 10. 19 14:59, Thierry Reding wrote: > > > > On Thu, Oct 17, 2019 at 02:09:17PM +0200, Uwe Kleine-

Re: [RFC PATCH RESEND] drm/amd/display: Add back missing backlight level rounding

2019-10-17 Thread Li, Sun peng (Leo)
Thanks for the detailed notes! See reply inline. On 2019-10-15 4:03 p.m., Lukáš Krejčí wrote: > [Why] > Having the rounding of the backlight value restored to the way it was > seemingly gets rid of backlight flickering on certain Stoney Ridge > laptops. > > [How] > Rescale the backlight level bet

Re: [PATCH] drm/amdgpu/display: fix compile error

2019-10-17 Thread Li, Sun peng (Leo)
This has already been fixed here: https://patchwork.freedesktop.org/patch/336195/ Should be mirrored on Alex's tree soon. Thanks, Leo On 2019-10-17 2:19 a.m., Chen Wandun wrote: > From: Chenwandun > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_resource.c:1913:48: > error: struct dc_

Re: [PATCH] backlight: pwm_bl: configure pwm only once per backlight toggle

2019-10-17 Thread Adam Ford
On Thu, Oct 17, 2019 at 12:13 PM Thierry Reding wrote: > > On Thu, Oct 17, 2019 at 12:07:21PM -0500, Adam Ford wrote: > > On Thu, Oct 17, 2019 at 10:14 AM Thierry Reding > > wrote: > > > > > > On Thu, Oct 17, 2019 at 03:58:25PM +0200, Michal Vokáč wrote: > > > > On 17. 10. 19 14:59, Thierry Redin

Re: [PATCH V4 3/6] mdev: introduce device specific ops

2019-10-17 Thread Alex Williamson
On Thu, 17 Oct 2019 17:07:55 +0200 Cornelia Huck wrote: > On Thu, 17 Oct 2019 18:48:33 +0800 > Jason Wang wrote: > > > Currently, except for the create and remove, the rest of > > mdev_parent_ops is designed for vfio-mdev driver only and may not help > > for kernel mdev driver. With the help of

Re: [PATCH V4 4/6] mdev: introduce virtio device and its device ops

2019-10-17 Thread Alex Williamson
On Thu, 17 Oct 2019 18:48:34 +0800 Jason Wang wrote: > This patch implements basic support for mdev driver that supports > virtio transport for kernel virtio driver. > > Signed-off-by: Jason Wang > --- > drivers/vfio/mdev/mdev_core.c | 12 +++ > include/linux/mdev.h | 4 + > includ

Re: [PATCH] drm/omap: fix max fclk divider for omap36xx

2019-10-17 Thread Adam Ford
On Sun, Oct 13, 2019 at 10:56 AM Adam Ford wrote: > > On Wed, Oct 2, 2019 at 7:25 AM Tomi Valkeinen wrote: > > > > The OMAP36xx and AM/DM37x TRMs say that the maximum divider for DSS fclk > > (in CM_CLKSEL_DSS) is 32. Experimentation shows that this is not > > correct, and using divider of 32 bre

[Bug 111987] Unstable performance (periodic and repeating patterns of fps change) and changing VDDGFX

2019-10-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111987 --- Comment #15 from Witold Baryluk --- Setting echo high > power_dpm_force_performance_level didn't help. It is set to high (verified by reading back from sysfs). gpu_busy_percent is showing me 100 all the time, and sometimes jumps a little

[Bug 111987] Unstable performance (periodic and repeating patterns of fps change) and changing VDDGFX

2019-10-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111987 --- Comment #16 from Alex Deucher --- It sounds like the GPU is getting throttled due to power temperature. Is the cooling solution on your GPU clean and working properly? Do you have an adequate power supply? -- You are receiving this mail

Re: [PATCH] backlight: pwm_bl: configure pwm only once per backlight toggle

2019-10-17 Thread Uwe Kleine-König
On Thu, Oct 17, 2019 at 02:18:02PM +0100, Daniel Thompson wrote: > On Thu, Oct 17, 2019 at 02:19:45PM +0200, Uwe Kleine-König wrote: > > On Thu, Oct 17, 2019 at 12:47:27PM +0100, Daniel Thompson wrote: > > > On Thu, Oct 17, 2019 at 10:10:59AM +0200, Uwe Kleine-König wrote: > > > > A previous change

[Bug 111987] Unstable performance (periodic and repeating patterns of fps change) and changing VDDGFX

2019-10-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111987 --- Comment #17 from Witold Baryluk --- I also tried echo profile_peak > power_dpm_force_performance_level , and initially the sclk stays at the highest level, but after a minute, it does drop just like other profiles. As of of cooling and PSU.

Re: [PATCH 6.1 3/8] drm: rcar-du: Add support for CMM

2019-10-17 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Oct 17, 2019 at 03:43:32PM +0200, Jacopo Mondi wrote: > Add a driver for the R-Car Display Unit Color Correction Module. > > In most of Gen3 SoCs, each DU output channel is provided with a CMM unit > to perform image enhancement and color correction. >

Re: [PATCH v6.1 5/8] drm: rcar-du: crtc: Control CMM operations

2019-10-17 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Oct 17, 2019 at 03:44:09PM +0200, Jacopo Mondi wrote: > Implement CMM handling in the crtc begin and enable atomic callbacks, > and enable CMM unit through the Display Extensional Functions > register at group setup time. > > Reviewed-by: Laurent Pinch

[Bug 204805] BUG: kernel NULL pointer dereference, address: 0000000000000200

2019-10-17 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204805 --- Comment #3 from ilkka.pr...@gmail.com --- SysRq tricks do not work when freezing: Alt + SysRq + b does not reboot. -- You are receiving this mail because: You are watching the assignee of the bug.

Re: [PATCH v6 0/8] drm: rcar-du: Add Color Management Module (CMM)

2019-10-17 Thread Laurent Pinchart
Hi Jacopo, Thank you for your work. On Wed, Oct 16, 2019 at 10:55:40AM +0200, Jacopo Mondi wrote: > Minimal increment to the CMM series, this time should really be the last one. > > Just missing Rob's ack on [1/8] and Laurent's one on [5/8]. > > Changelog is minimal: > CMM > - Remove the cmm_co

Re: [RESEND][PATCH v8 0/5] DMA-BUF Heaps (destaging ION)

2019-10-17 Thread John Stultz
On Wed, Oct 16, 2019 at 10:41 AM Andrew F. Davis wrote: > On 10/14/19 5:07 AM, Brian Starkey wrote: > > Hi Andrew, > > > > On Wed, Oct 09, 2019 at 02:27:15PM -0400, Andrew F. Davis wrote: > >> The CMA driver that registers these nodes will have to be expanded to > >> export them using this framewo

[PULL] drm-misc-next

2019-10-17 Thread Sean Paul
Hi Dave/Daniel, Apologies for this being a day late, I wanted to get the dt-bindings for the malidp QoS change before sending this. Most of the volume is incremental this week, there's some new HW features enabled which I've called out below. As for the uapi changes, well it's interesting timing

Re: [RESEND][PATCH v8 0/5] DMA-BUF Heaps (destaging ION)

2019-10-17 Thread Andrew F. Davis
On 10/17/19 3:14 PM, John Stultz wrote: > On Wed, Oct 16, 2019 at 10:41 AM Andrew F. Davis wrote: >> On 10/14/19 5:07 AM, Brian Starkey wrote: >>> Hi Andrew, >>> >>> On Wed, Oct 09, 2019 at 02:27:15PM -0400, Andrew F. Davis wrote: The CMA driver that registers these nodes will have to be expa

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-10-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #101 from Marko Popovic --- Created attachment 145766 --> https://bugs.freedesktop.org/attachment.cgi?id=145766&action=edit APITrace from Rocket League successful launch Ok so since it was unable to be reproduced with that 1 frame

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-10-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #102 from Marko Popovic --- (In reply to Marko Popovic from comment #101) > Created attachment 145766 [details] > APITrace from Rocket League successful launch > > Ok so since it was unable to be reproduced with that 1 frame long tr

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-10-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #103 from Shmerl --- I just got a random Firefox freeze with all three above patches applied. So it's clearly not fixed yet (though such hangs are a lot less common than before now): [78836.138723] [drm:amdgpu_dm_atomic_commit_tail

Re: [PATCH] drm/amdgpu/vi: silence an uninitialized variable warning

2019-10-17 Thread Alex Deucher
On Thu, Oct 17, 2019 at 5:12 AM Dan Carpenter wrote: > > Smatch complains that we need to initialized "*cap" otherwise it can > lead to an uninitialized variable bug in the caller. This seems like a > reasonable warning and it doesn't hurt to silence it at least. > > drivers/gpu/drm/amd/amdgpu/vi

Re: [PATCH] backlight: pwm_bl: configure pwm only once per backlight toggle

2019-10-17 Thread Uwe Kleine-König
Hello Thierry, On Thu, Oct 17, 2019 at 02:59:32PM +0200, Thierry Reding wrote: > On Thu, Oct 17, 2019 at 02:09:17PM +0200, Uwe Kleine-König wrote: > > On Thu, Oct 17, 2019 at 01:11:31PM +0200, Thierry Reding wrote: > > > diff --git a/drivers/pwm/pwm-imx27.c b/drivers/pwm/pwm-imx27.c > > > index ae

Re: [RFC] drm: Add AMD GFX9+ format modifiers.

2019-10-17 Thread Marek Olšák
On Wed, Oct 16, 2019 at 9:48 AM Bas Nieuwenhuizen wrote: > This adds initial format modifiers for AMD GFX9 and newer GPUs. > > This is particularly useful to determine if we can use DCC, and whether > we need an extra display compatible DCC metadata plane. > > Design decisions: > - Always expos

Re: [PATCH] backlight: pwm_bl: configure pwm only once per backlight toggle

2019-10-17 Thread Uwe Kleine-König
On Thu, Oct 17, 2019 at 12:59:20PM +0200, Michal Vokáč wrote: > On 17. 10. 19 11:48, Michal Vokáč wrote: > > On 17. 10. 19 10:10, Uwe Kleine-König wrote: > > > A previous change in the pwm core (namely 01ccf903edd6 ("pwm: Let > > > pwm_get_state() return the last implemented state")) changed the >

Re: [PATCH] backlight: pwm_bl: configure pwm only once per backlight toggle

2019-10-17 Thread Uwe Kleine-König
Hello Thierry, On Thu, Oct 17, 2019 at 05:14:37PM +0200, Thierry Reding wrote: > On Thu, Oct 17, 2019 at 03:58:25PM +0200, Michal Vokáč wrote: > > On 17. 10. 19 14:59, Thierry Reding wrote: > > > On Thu, Oct 17, 2019 at 02:09:17PM +0200, Uwe Kleine-König wrote: > > > > On Thu, Oct 17, 2019 at 01:1

[PULL] drm-misc-fixes

2019-10-17 Thread Sean Paul
Hi Dave/Daniel, Guest-Maxime here with a drm-misc-fixes pull. Interesting stuff has been highlighted below in the tag. I realized that we have Steven's stopped job patch in both -next and -fixes, so we'll need to watch out for conflicts when they come together. drm-misc-fixes-2019-10-17: -dma-re

[git pull] drm fixes for 5.4-rc4

2019-10-17 Thread Dave Airlie
Hey Linus, This is this weeks fixes for drm, the dma-resv one is probably the more important one a fair few people have reported it, besides that it's a couple of panfrost, a few i915 and a few amdgpu fixes. One radeon patch to fix some ppc64 related issues caused an x86 regression so is getting r

Re: [RESEND][PATCH v8 0/5] DMA-BUF Heaps (destaging ION)

2019-10-17 Thread John Stultz
On Thu, Oct 17, 2019 at 12:29 PM Andrew F. Davis wrote: > On 10/17/19 3:14 PM, John Stultz wrote: > > But if the objection stands, do you have a proposal for an alternative > > way to enumerate a subset of CMA heaps? > > > When in staging ION had to reach into the CMA framework as the other > dire

Re: [git pull] drm fixes for 5.4-rc4

2019-10-17 Thread pr-tracker-bot
The pull request you sent on Fri, 18 Oct 2019 06:53:55 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2019-10-18 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/839e0f04b50441d1f6593070b574b7933e903c7c Thank you! -- Deet-doot-dot, I am a bot. https://k

radeon backtrace on fedora 31

2019-10-17 Thread Dave Airlie
5.3.4-300.fc31.x86_64 seems to be new. https://retrace.fedoraproject.org/faf/reports/2726149/ Dave. ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH] drm/gma500: fix memory disclosures due to uninitialized bytes

2019-10-17 Thread Kangjie Lu
"clock" may be copied to "best_clock". Initializing best_clock is not sufficient. The fix initializes clock as well to avoid memory disclosures and informaiton leaks. Signed-off-by: Kangjie Lu --- drivers/gpu/drm/gma500/oaktrail_crtc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/driver

Re: [PATCH V7 6/6] backlight: qcom-wled: Add auto string detection logic

2019-10-17 Thread kgunda
On 2019-10-17 19:00, Lee Jones wrote: On Thu, 17 Oct 2019, kgu...@codeaurora.org wrote: On 2019-10-17 17:56, Lee Jones wrote: > On Wed, 16 Oct 2019, Kiran Gunda wrote: > > > The auto string detection algorithm checks if the current WLED > > sink configuration is valid. It tries enabling every s

[PATCH] gma/gma500: fix a memory disclosure bug due to uninitialized bytes

2019-10-17 Thread Kangjie Lu
`best_clock` is an object that may be sent out. Object `clock` contains uninitialized bytes that are copied to `best_clock`, which leads to memory disclosure and information leak. Signed-off-by: Kangjie Lu --- drivers/gpu/drm/gma500/cdv_intel_display.c | 2 ++ 1 file changed, 2 insertions(+) di

[PATCH v12 1/5] dma-buf: Add dma-buf heaps framework

2019-10-17 Thread John Stultz
From: "Andrew F. Davis" This framework allows a unified userspace interface for dma-buf exporters, allowing userland to allocate specific types of memory for use in dma-buf sharing. Each heap is given its own device node, which a user can allocate a dma-buf fd from using the DMA_HEAP_IOC_ALLOC.

[PATCH v12 4/5] dma-buf: heaps: Add CMA heap to dmabuf heaps

2019-10-17 Thread John Stultz
This adds a CMA heap, which allows userspace to allocate a dma-buf of contiguous memory out of a CMA region. This code is an evolution of the Android ION implementation, so thanks to its original author and maintainters: Benjamin Gaignard, Laura Abbott, and others! NOTE: This patch only adds th

[PATCH v12 5/5] kselftests: Add dma-heap test

2019-10-17 Thread John Stultz
Add very trivial allocation and import test for dma-heaps, utilizing the vgem driver as a test importer. A good chunk of this code taken from: tools/testing/selftests/android/ion/ionmap_test.c Originally by Laura Abbott Cc: Benjamin Gaignard Cc: Sumit Semwal Cc: Liam Mark Cc: Pratik Patel

[PATCH v12 3/5] dma-buf: heaps: Add system heap to dmabuf heaps

2019-10-17 Thread John Stultz
This patch adds system heap to the dma-buf heaps framework. This allows applications to get a page-allocator backed dma-buf for non-contiguous memory. This code is an evolution of the Android ION implementation, so thanks to its original authors and maintainters: Rebecca Schultz Zavin, Colin Cr

[PATCH v12 0/5] DMA-BUF Heaps (destaging ION)

2019-10-17 Thread John Stultz
Andrew brought up a reasonable concern with the CMA heap enumeration in the previous patch set, and I had a few other minor cleanups to add, so here is yet another pass at the dma-buf heaps patchset Andrew and I have been working on which tries to destage a fair chunk of ION functionality. The pat

[PATCH v12 2/5] dma-buf: heaps: Add heap helpers

2019-10-17 Thread John Stultz
Add generic helper dmabuf ops for dma heaps, so we can reduce the amount of duplicative code for the exported dmabufs. This code is an evolution of the Android ION implementation, so thanks to its original authors and maintainters: Rebecca Schultz Zavin, Colin Cross, Laura Abbott, and others! C

[Bug 112017] [CI][SHARDS]igt@kms_frontbuffer_tracking@* - fail - Failed assertion: drm.bufmgr

2019-10-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=112017 --- Comment #4 from CI Bug Log --- The CI Bug Log issue associated to this bug has been updated. ### New filters associated * TGL: igt@kms_psr@*|igt@gem__* - fail - Failed assertion: data.bufmgr - https://intel-gfx-ci.01.org/tree/drm-tip/IGT

Re: [PATCH v12 0/5] DMA-BUF Heaps (destaging ION)

2019-10-17 Thread Sumit Semwal
Hi John, Andrews, On Fri, 18 Oct 2019 at 10:53, John Stultz wrote: > > Andrew brought up a reasonable concern with the CMA heap > enumeration in the previous patch set, and I had a few other > minor cleanups to add, so here is yet another pass at the > dma-buf heaps patchset Andrew and I have bee

Re: [RFC,3/3] drm/komeda: Allow non-component drm_bridge only endpoints

2019-10-17 Thread james qian wang (Arm Technology China)
On Thu, Oct 17, 2019 at 10:48:12AM +, Brian Starkey wrote: > On Thu, Oct 17, 2019 at 10:21:03AM +, james qian wang (Arm Technology > China) wrote: > > On Thu, Oct 17, 2019 at 08:20:56AM +, Brian Starkey wrote: > > > On Thu, Oct 17, 2019 at 03:07:59AM +, james qian wang (Arm Technol

Re: [PATCH V7 6/6] backlight: qcom-wled: Add auto string detection logic

2019-10-17 Thread kgunda
On 2019-10-17 19:09, Daniel Thompson wrote: On Thu, Oct 17, 2019 at 05:47:47PM +0530, kgu...@codeaurora.org wrote: On 2019-10-17 16:59, Daniel Thompson wrote: > On Wed, Oct 16, 2019 at 03:43:46PM +0530, Kiran Gunda wrote: > > The auto string detection algorithm checks if the current WLED > > sin

Re: [RFC,3/3] drm/komeda: Allow non-component drm_bridge only endpoints

2019-10-17 Thread james qian wang (Arm Technology China)
On Thu, Oct 17, 2019 at 12:41:37PM +0100, Russell King - ARM Linux admin wrote: > On Thu, Oct 17, 2019 at 10:48:12AM +, Brian Starkey wrote: > > On Thu, Oct 17, 2019 at 10:21:03AM +, james qian wang (Arm Technology > > China) wrote: > > > On Thu, Oct 17, 2019 at 08:20:56AM +, Brian Sta

<    1   2