RE: [PATCH v16 3/9] mm/gup: Introduce memfd_pin_folios() for pinning memfd folios

2024-07-13 Thread Kasireddy, Vivek
Hi Andrew, > > > Hi Andrew and SJ, > > > > > > > > > > > > > I didn't look deep into the patch, so unsure if that's a valid fix, > > > > though. > > > > May I ask your thoughts? > > > > > > Perhaps we should propagate the errno which was returned by > > > try_grab_folio()? > > > > > > I'll do it

Re: [PATCH 2/2] media: imx: vdic: Introduce mem2mem VDI deinterlacer driver

2024-07-13 Thread Dan Carpenter
On Sat, Jul 13, 2024 at 05:48:02PM +0200, Marek Vasut wrote: > diff --git a/drivers/staging/media/imx/imx-media-dev.c > b/drivers/staging/media/imx/imx-media-dev.c > index be54dca11465d..b75eec4513eab 100644 > --- a/drivers/staging/media/imx/imx-media-dev.c > +++ b/drivers/staging/media/imx/imx-me

Re: [PATCH v4 4/6] sfc: falcon: Make I2C terminology more inclusive

2024-07-13 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski : On Thu, 11 Jul 2024 05:27:32 + you wrote: > I2C v7, SMBus 3.2, and I3C 1.1.1 specifications have replaced "master/slave" > with more appropriate terms. Inspired by Wolfram's series to fix drivers/i2c/, > fix the t

Re: [PATCH] drm/msm/dp: enable widebus on all relevant chipsets

2024-07-13 Thread Dmitry Baryshkov
On Thu, Jul 11, 2024 at 03:48:50PM GMT, Abhinav Kumar wrote: > Hardware document indicates that widebus is recommended on DP on all > MDSS chipsets starting version 5.x.x and above. > > Follow the guideline and mark widebus support on all relevant > chipsets for DP. > > Signed-off-by: Abhinav Kum

Re: [PATCH v9 00/53] fix CONFIG_DRM_USE_DYNAMIC_DEBUG=y

2024-07-13 Thread jim . cromie
On Fri, Jul 12, 2024 at 9:44 AM Łukasz Bartosik wrote: > > On Wed, Jul 3, 2024 at 12:14 AM wrote: > > > > On Tue, Jul 2, 2024 at 4:01 PM Luis Chamberlain wrote: > > > > > > On Tue, Jul 02, 2024 at 03:56:50PM -0600, Jim Cromie wrote: > > > > This fixes dynamic-debug support for DRM.debug, added v

[PATCH] drm/rockchip: Constify struct drm_encoder_helper_funcs

2024-07-13 Thread Christophe JAILLET
'struct drm_encoder_helper_funcs' is not modified in these drivers. Constifying this structure moves some data to a read-only section, so increase overall security. On a x86_64, with allmodconfig: Before: == textdata bss dec hex filename 7458 552 080101

[PATCH 1/2] gpu: ipu-v3: vdic: Simplify ipu_vdi_setup()

2024-07-13 Thread Marek Vasut
The 'code' parameter only ever selects between YUV 4:2:0 and 4:2:2 subsampling, turn it into boolean to select exactly that and update related code accordingly. Signed-off-by: Marek Vasut --- Cc: Daniel Vetter Cc: David Airlie Cc: Fabio Estevam Cc: Greg Kroah-Hartman Cc: Helge Deller Cc: Mau

[PATCH 2/2] media: imx: vdic: Introduce mem2mem VDI deinterlacer driver

2024-07-13 Thread Marek Vasut
Introduce dedicated memory-to-memory IPUv3 VDI deinterlacer driver. Currently the IPUv3 can operate VDI in DIRECT mode, from sensor to memory. This only works for single stream, that is, one input from one camera is deinterlaced on the fly with a helper buffer in DRAM and the result is written into

Re: [PATCH 2/2] drm/msm/dpu: don't play tricks with debug macros

2024-07-13 Thread Dmitry Baryshkov
On Thu, Jul 11, 2024 at 11:03:15AM GMT, Abhinav Kumar wrote: > > > On 7/10/2024 12:40 AM, Dmitry Baryshkov wrote: > > On Tue, 9 Jul 2024 at 22:39, Abhinav Kumar > > wrote: > > > > > > > > > > > > On 7/9/2024 6:48 AM, Dmitry Baryshkov wrote: > > > > DPU debugging macros need to be converted t

[PATCH] gpu: ipu-v3: image-convert: Drop unused single conversion request code

2024-07-13 Thread Marek Vasut
Neither ipu_image_convert_sync() nor ipu_image_convert() is used or call from anywhere. Remove this unused code. Signed-off-by: Marek Vasut --- Cc: Daniel Vetter Cc: David Airlie Cc: Fabio Estevam Cc: Greg Kroah-Hartman Cc: Helge Deller Cc: Mauro Carvalho Chehab Cc: Pengutronix Kernel Team

Re: [PATCH v4 00/11] v3d: Perfmon cleanup

2024-07-13 Thread Maíra Canal
On 7/11/24 10:53, Tvrtko Ursulin wrote: From: Tvrtko Ursulin When we had to quickly deal with a tree build issue via merging 792d16b5375d ("drm/v3d: Move perfmon init completely into own unit"), we promised to follow up with a nicer solution. As in the process of eliminating the hardcoded defi

Re: [PATCH] drm/v3d: Expose memory stats through fdinfo

2024-07-13 Thread Maíra Canal
On 7/11/24 11:25, Maíra Canal wrote: Use the common DRM function `drm_show_memory_stats()` to expose standard fdinfo memory stats. V3D exposes global GPU memory stats through debugfs. Those stats will be preserved while the DRM subsystem doesn't have a standard solution to expose global GPU stat

Re: [PATCH v8 05/17] drm/vkms: Add dummy pixel_read/pixel_write callbacks to avoid NULL pointers

2024-07-13 Thread Maíra Canal
On 5/16/24 10:04, Louis Chauvet wrote: Introduce two callbacks which does nothing. They are used in replacement of NULL and it avoid kernel OOPS if this NULL is called. I don't believe we should avoid a reasonable kernel OOPS. As you noticed, if the user got this kernel OOPS it means that there

Re: [PATCH v8 04/17] drm/vkms: Add typedef and documentation for pixel_read and pixel_write functions

2024-07-13 Thread Maíra Canal
On 5/16/24 10:04, Louis Chauvet wrote: Introduce two typedefs: pixel_read_t and pixel_write_t. It allows the compiler to check if the passed functions take the correct arguments. Such typedefs will help ensuring consistency across the code base in case of update of these prototypes. Rename input

Re: [PATCH v8 03/17] drm/vkms: write/update the documentation for pixel conversion and pixel write functions

2024-07-13 Thread Maíra Canal
On 5/16/24 10:04, Louis Chauvet wrote: Add some documentation on pixel conversion functions. Update of outdated comments for pixel_write functions. Signed-off-by: Louis Chauvet Acked-by: Pekka Paalanen --- drivers/gpu/drm/vkms/vkms_composer.c | 7 drivers/gpu/drm/vkms/vkms_drv.h

[PATCH] drm/ttm: Use seq_putc() in two functions

2024-07-13 Thread Markus Elfring
From: Markus Elfring Date: Sat, 13 Jul 2024 13:23:06 +0200 Single characters (line breaks) should be put into a sequence. Thus use the corresponding function “seq_putc”. This issue was transformed by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/gpu/drm/ttm/ttm_pool

Re: [PATCH 1/2] dma-buf: heaps: DMA_HEAP_IOCTL_ALLOC_READ_FILE framework

2024-07-13 Thread kernel test robot
: 523b23f0bee3014a7a752c9bb9f5c54f0eddae88 patch link:https://lore.kernel.org/r/20240711074221.459589-2-link%40vivo.com patch subject: [PATCH 1/2] dma-buf: heaps: DMA_HEAP_IOCTL_ALLOC_READ_FILE framework config: i386-buildonly-randconfig-002-20240713 (https://download.01.org/0day-ci/archive/20240713

Re: [PATCH v5 02/16] drm/msm/dpu: fix error condition in dpu_encoder_virt_atomic_mode_set

2024-07-13 Thread Dmitry Baryshkov
On Sat, 13 Jul 2024 at 03:25, Abhinav Kumar wrote: > > > > On 7/12/2024 4:11 PM, Dmitry Baryshkov wrote: > > On Fri, 12 Jul 2024 at 22:41, Abhinav Kumar > > wrote: > >> On 6/24/2024 2:13 PM, Dmitry Baryshkov wrote: > >>> The commit b954fa6baaca ("drm/msm/dpu: Refactor rm iterator") removed > >>>

Re: [PATCH] drm/vc4: remove all usages of of_node_put()

2024-07-13 Thread Amer Al Shanawany
On 18/06/2024 13.54, Amer Al Shanawany wrote: On 5/22/24 16:48, Amer Al Shanawany wrote: On 27/04/2024 15.40, Amer Al Shanawany wrote: Use the scope-based cleanup feature to clean up 'struct device_node *' when they go out of scope, and remove all instances of of_node_put() within the same scop

Re: [RFC PATCH] drm: panthor: add dev_coredumpv support

2024-07-13 Thread Miguel Ojeda
On Sat, Jul 13, 2024 at 2:48 AM Dave Airlie wrote: > > I think I'm on the uapi should remain in C for now, we define uapi > types with the kernel types and we have downstream tools to scan and > parse them to deal with alignments and padding (I know FEX relies on > it), so I think we should be bin