Re: [PATCH] i2c: qcom-geni: Fix GPI DMA buffer sync-back

2022-08-07 Thread Wolfram Sang
On Sun, Aug 07, 2022 at 11:04:54PM +0900, Robin Reckmann wrote: > Fix i2c transfers using GPI DMA mode for all message types that do not set > the I2C_M_DMA_SAFE flag (e.g. SMBus "read byte"). > > In this case a bounce buffer is returned by i2c_get_dma_safe_msg_buf(), > and it has to synced back

Re: [PATCH v2] drm/gem: Fix GEM handle release errors

2022-08-07 Thread Chen Jeffy
Hi Christian, Thanks for your reply, and sorry i didn't make it clear. On 8/8 星期一 0:52, Christian König wrote: Am 03.08.22 um 10:32 schrieb Jeffy Chen: Currently we are assuming a one to one mapping between dmabuf and handle when releasing GEM handles. But that is not always true, since we

Re: imx8mm lcdif->dsi->adv7535 no video, no errors

2022-08-07 Thread Adam Ford
On Fri, Aug 5, 2022 at 4:05 PM Adam Ford wrote: > > On Fri, Aug 5, 2022 at 7:56 AM Adam Ford wrote: > > > > On Fri, Aug 5, 2022 at 5:55 AM Adam Ford wrote: > > > > > > On Fri, Aug 5, 2022 at 3:44 AM Biju Das > > > wrote: > > > > > > > > Hi Adam and all, > > > > > > > > > Subject: Re: imx8mm

Re: [PATCH v1 0/7] New DRM driver for Intel VPU

2022-08-07 Thread Dave Airlie
On Thu, 28 Jul 2022 at 23:17, Jacek Lawrynowicz wrote: > > Hi, > > This patchset contains a new Linux* Kernel Driver for Intel® VPUs. > > VPU stands for Versatile Processing Unit and it is an AI inference accelerator > integrated with Intel non-server CPUs starting from 14th generation. > VPU

Re: [PATCH 1/2] dt-bindings: display: bridge: icn6211: Add support for RGB/BGR swap

2022-08-07 Thread Marek Vasut
On 8/4/22 00:41, Rob Herring wrote: On Tue, Aug 2, 2022 at 5:33 AM Marek Vasut wrote: On 8/1/22 18:32, Rob Herring wrote: On Mon, Aug 01, 2022 at 03:19:00PM +0200, Marek Vasut wrote: The ICN6211 is capable of swapping the output DPI RGB/BGR color channels, document a DT property to select

Re: [PATCH v2 1/3] drivers: serial: earlycon: Correct argument name

2022-08-07 Thread kernel test robot
submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Markuss-Broks/Add-generic-framebuffer-support-to-EFI-earlycon-driver/20220807-003646 base: https://git.kernel.org/pub

Re: [PATCH 2/2] drm/i915/ttm: fix CCS handling

2022-08-07 Thread Ramalingam C
On 2022-08-05 at 14:22:40 +0100, Matthew Auld wrote: > Crucible + recent Mesa seems to sometimes hit: > > GEM_BUG_ON(num_ccs_blks > NUM_CCS_BLKS_PER_XFER) > > And it looks like we can also trigger this with gem_lmem_swapping, if we > modify the test to use slightly larger object sizes. > >

Re: [PATCH 1/2] drm/i915/ttm: remove calc_ctrl_surf_instr_size

2022-08-07 Thread Ramalingam C
On 2022-08-05 at 14:22:39 +0100, Matthew Auld wrote: > We only ever need to emit one ccs block copy command. Since max size we handle at a time is CHUNK_SZ, we will need only one cmd. Reviewed-by: Ramalingam C > > Signed-off-by: Matthew Auld > Cc: Thomas Hellström > Cc: Ramalingam C > --- >

Re: [Freedreno] [PATCH 1/3] dma-buf: Add ioctl to query mmap info

2022-08-07 Thread Akhil P Oommen
On 7/29/2022 10:37 PM, Rob Clark wrote: From: Rob Clark This is a fairly narrowly focused interface, providing a way for a VMM in userspace to tell the guest kernel what pgprot settings to use when mapping a buffer to guest userspace. For buffers that get mapped into guest userspace,

Re: [Linaro-mm-sig] [PATCH 1/3] dma-buf: Add ioctl to query mmap info

2022-08-07 Thread Rob Clark
On Sun, Aug 7, 2022 at 11:05 AM Christian König wrote: > > Am 07.08.22 um 19:56 schrieb Rob Clark: > > On Sun, Aug 7, 2022 at 10:38 AM Christian König > > wrote: > >> [SNIP] > >> And exactly that was declared completely illegal the last time it came > >> up on the mailing list. > >> > >> Daniel

Re: [Linaro-mm-sig] [PATCH 1/3] dma-buf: Add ioctl to query mmap info

2022-08-07 Thread Christian König
Am 07.08.22 um 19:56 schrieb Rob Clark: On Sun, Aug 7, 2022 at 10:38 AM Christian König wrote: [SNIP] And exactly that was declared completely illegal the last time it came up on the mailing list. Daniel implemented a whole bunch of patches into the DMA-buf layer to make it impossible for KVM

Re: [GIT PULL] fbdev updates & fixes for v5.20-rc1

2022-08-07 Thread pr-tracker-bot
The pull request you sent on Sat, 6 Aug 2022 22:06:49 +0200: > http://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git > tags/for-5.20/fbdev-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/b5a8466d37d30cfcc8015789f4a3f0c44b6c7bc6 Thank you! --

Re: [Linaro-mm-sig] [PATCH 1/3] dma-buf: Add ioctl to query mmap info

2022-08-07 Thread Rob Clark
On Sun, Aug 7, 2022 at 10:38 AM Christian König wrote: > > Am 07.08.22 um 19:35 schrieb Rob Clark: > > On Sun, Aug 7, 2022 at 10:14 AM Christian König > > wrote: > >> Am 07.08.22 um 19:02 schrieb Rob Clark: > >>> On Sun, Aug 7, 2022 at 9:09 AM Christian König > >>> wrote: > Am 29.07.22 um

Re: mainline build failure for x86_64 allmodconfig with clang

2022-08-07 Thread Linus Torvalds
On Sun, Aug 7, 2022 at 10:36 AM David Laight wrote: > > Or just shoot the software engineer who thinks 100 arguments > is sane. :-) I suspect the issue is that it's not primarily a software engineer who wrote that code. Hardware people writing code are about as scary as software engineers with

Re: [Linaro-mm-sig] [PATCH 1/3] dma-buf: Add ioctl to query mmap info

2022-08-07 Thread Christian König
Am 07.08.22 um 19:35 schrieb Rob Clark: On Sun, Aug 7, 2022 at 10:14 AM Christian König wrote: Am 07.08.22 um 19:02 schrieb Rob Clark: On Sun, Aug 7, 2022 at 9:09 AM Christian König wrote: Am 29.07.22 um 19:07 schrieb Rob Clark: From: Rob Clark This is a fairly narrowly focused

RE: mainline build failure for x86_64 allmodconfig with clang

2022-08-07 Thread David Laight
From: Arnd Bergmann > Sent: 05 August 2022 20:32 ... > One thing to try would be to condense a function call like > > dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport( > ... > /* more arguments */); > > into calling conventions that take a

Re: [Linaro-mm-sig] [PATCH 1/3] dma-buf: Add ioctl to query mmap info

2022-08-07 Thread Rob Clark
On Sun, Aug 7, 2022 at 10:14 AM Christian König wrote: > > Am 07.08.22 um 19:02 schrieb Rob Clark: > > On Sun, Aug 7, 2022 at 9:09 AM Christian König > > wrote: > >> Am 29.07.22 um 19:07 schrieb Rob Clark: > >>> From: Rob Clark > >>> > >>> This is a fairly narrowly focused interface, providing

[PATCH] drm/msm: Add fault-injection support

2022-08-07 Thread Rob Clark
From: Rob Clark Intended as a way to trigger error paths in mesa. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/msm_debugfs.c | 8 drivers/gpu/drm/msm/msm_drv.c | 15 +++ drivers/gpu/drm/msm/msm_drv.h | 7 +++ 3 files changed, 30 insertions(+) diff --git

Re: [Linaro-mm-sig] [PATCH 1/3] dma-buf: Add ioctl to query mmap info

2022-08-07 Thread Christian König
Am 07.08.22 um 19:02 schrieb Rob Clark: On Sun, Aug 7, 2022 at 9:09 AM Christian König wrote: Am 29.07.22 um 19:07 schrieb Rob Clark: From: Rob Clark This is a fairly narrowly focused interface, providing a way for a VMM in userspace to tell the guest kernel what pgprot settings to use when

Re: [Linaro-mm-sig] [PATCH 1/3] dma-buf: Add ioctl to query mmap info

2022-08-07 Thread Rob Clark
On Sun, Aug 7, 2022 at 9:09 AM Christian König wrote: > > Am 29.07.22 um 19:07 schrieb Rob Clark: > > From: Rob Clark > > > > This is a fairly narrowly focused interface, providing a way for a VMM > > in userspace to tell the guest kernel what pgprot settings to use when > > mapping a buffer to

Re: [PATCH v2] drm/gem: Fix GEM handle release errors

2022-08-07 Thread Christian König
Am 03.08.22 um 10:32 schrieb Jeffy Chen: Currently we are assuming a one to one mapping between dmabuf and handle when releasing GEM handles. But that is not always true, since we would create extra handles for the GEM obj in cases like gem_open() and getfb{,2}(). A similar issue was reported

Re: [PATCH] dma-buf: Use dma_fence_unwrap_for_each when importing fences

2022-08-07 Thread Christian König
Am 02.08.22 um 23:01 schrieb Jason Ekstrand: Ever since 68129f431faa ("dma-buf: warn about containers in dma_resv object"), dma_resv_add_shared_fence will warn if you attempt to add a container fence. While most drivers were fine, fences can also be added to a dma_resv via the recently added

Re: [Linaro-mm-sig] [PATCH 1/3] dma-buf: Add ioctl to query mmap info

2022-08-07 Thread Christian König
Am 29.07.22 um 19:07 schrieb Rob Clark: From: Rob Clark This is a fairly narrowly focused interface, providing a way for a VMM in userspace to tell the guest kernel what pgprot settings to use when mapping a buffer to guest userspace. For buffers that get mapped into guest userspace,

[PATCH v2 2/2] drm/msm/rd: Fix FIFO-full deadlock

2022-08-07 Thread Rob Clark
From: Rob Clark If the previous thing cat'ing $debugfs/rd left the FIFO full, then subsequent open could deadlock in rd_write() (because open is blocked, not giving a chance for read() to consume any data in the FIFO). Also it is generally a good idea to clear out old data from the FIFO.

[PATCH v2 1/2] drm/msm: Move hangcheck timer restart

2022-08-07 Thread Rob Clark
From: Rob Clark Don't directly restart the hangcheck timer from the timer handler, but instead start it after the recover_worker replays remaining jobs. If the kthread is blocked for other reasons, there is no point to immediately restart the timer. Fixes a random symptom of the problem fixed

Re: [PATCH] i2c: qcom-geni: Fix GPI DMA buffer sync-back

2022-08-07 Thread Caleb Connolly
On 07/08/2022 15:04, Robin Reckmann wrote: > Fix i2c transfers using GPI DMA mode for all message types that do not set > the I2C_M_DMA_SAFE flag (e.g. SMBus "read byte"). > > In this case a bounce buffer is returned by i2c_get_dma_safe_msg_buf(), > and it has to synced back to the message

Re: [PATCH v2 1/3] drm/rockchip: define gamma registers for RK3399

2022-08-07 Thread Milan P . Stanić
Hi, Tested it on gru-kevin with mainline kernel 5.19 and it works On Tue, 2021-10-19 at 22:58, Hugh Cole-Baker wrote: > The VOP on RK3399 has a different approach from previous versions for > setting a gamma lookup table, using an update_gamma_lut register. As > this differs from RK3288, give

[PATCH] i2c: qcom-geni: Fix GPI DMA buffer sync-back

2022-08-07 Thread Robin Reckmann
Fix i2c transfers using GPI DMA mode for all message types that do not set the I2C_M_DMA_SAFE flag (e.g. SMBus "read byte"). In this case a bounce buffer is returned by i2c_get_dma_safe_msg_buf(), and it has to synced back to the message after the transfer is done. Add missing assignment of dma

Re: [PATCH v2 3/3] efi: earlycon: Add support for generic framebuffers and move to console subsystem

2022-08-07 Thread kernel test robot
submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Markuss-Broks/Add-generic-framebuffer-support-to-EFI-earlycon-driver/20220807-003646 base: https://git.kernel.org/pub

Re: New subsystem for acceleration devices

2022-08-07 Thread Oded Gabbay
On Sun, Aug 7, 2022 at 9:43 AM Oded Gabbay wrote: > > On Fri, Aug 5, 2022 at 3:22 AM Jason Gunthorpe wrote: > > > > On Thu, Aug 04, 2022 at 08:48:28PM +0300, Oded Gabbay wrote: > > > > > > The flip is true of DRM - DRM is pretty general. I bet I could > > > > implement an RDMA device under DRM -

Re: [PATCH] [Draft]: media: videobuf2-dma-heap: add a vendor defined memory runtine

2022-08-07 Thread Hsia-Jun Li
On 8/5/22 18:09, Tomasz Figa wrote: CAUTION: Email originated externally, do not click links or open attachments unless you recognize the sender and know the content is safe. On Tue, Aug 2, 2022 at 9:21 PM ayaka wrote: Sorry, the previous one contains html data. On Aug 2, 2022, at

Re: [PATCH 2/2] efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem

2022-08-07 Thread Greg Kroah-Hartman
On Sat, Aug 06, 2022 at 07:26:07PM +0300, Markuss Broks wrote: > Hi Greg, > > On 7/28/22 18:01, Greg Kroah-Hartman wrote: > > On Thu, Jul 28, 2022 at 05:52:04PM +0300, Markuss Broks wrote: > > > Hi Greg, > > > > > > On 7/28/22 17:39, Greg Kroah-Hartman wrote: > > > > On Thu, Jul 28, 2022 at

Re: New subsystem for acceleration devices

2022-08-07 Thread Oded Gabbay
On Fri, Aug 5, 2022 at 6:03 AM Dave Airlie wrote: > > On Thu, 4 Aug 2022 at 17:44, Oded Gabbay wrote: > > > > On Thu, Aug 4, 2022 at 2:54 AM Dave Airlie wrote: > > > > > > On Thu, 4 Aug 2022 at 06:21, Oded Gabbay wrote: > > > > > > > > On Wed, Aug 3, 2022 at 10:04 PM Dave Airlie wrote: > > >

Re: New subsystem for acceleration devices

2022-08-07 Thread Oded Gabbay
On Fri, Aug 5, 2022 at 3:22 AM Jason Gunthorpe wrote: > > On Thu, Aug 04, 2022 at 08:48:28PM +0300, Oded Gabbay wrote: > > > > The flip is true of DRM - DRM is pretty general. I bet I could > > > implement an RDMA device under DRM - but that doesn't mean it should > > > be done. > > > > > > My