[PATCH] dma-buf: Don't use typeof in va_arg

2022-06-10 Thread Wan Jiabing
Fix following coccicheck warning: ./drivers/dma-buf/st-dma-fence-unwrap.c:75:39-45: ERROR: reference preceded by free on line 70 Use 'struct dma_fence *' instead of 'typeof(*fences)' to avoid this warning and also fix other 'typeof(*fences)' to make them consistent. Fixes: 0c5064fa8d5a

Re: [PATCH] iosys-map: Add word-sized reads

2022-06-10 Thread Christian König
Am 10.06.22 um 01:20 schrieb Lucas De Marchi: Instead of always falling back to memcpy_fromio() for any size, prefer using read{b,w,l}(). When reading struct members it's common to read individual integer variables individually. Going through memcpy_fromio() for each of them poses a high

Re: [PATCH] staging: olpc_dcon: mark driver as broken

2022-06-10 Thread Greg Kroah-Hartman
On Fri, Jun 10, 2022 at 12:34:24AM +0200, Javier Martinez Canillas wrote: > The commit eecb3e4e5d9d ("staging: olpc_dcon: add OLPC display controller > (DCON) support") added this driver in 2010, and has been in staging since > then. It was marked as broken at some point because it didn't even

[PATCH 3/3] drm/doc/rfc: VM_BIND uapi definition

2022-06-10 Thread Niranjana Vishwanathapura
VM_BIND and related uapi definitions Signed-off-by: Niranjana Vishwanathapura --- Documentation/gpu/rfc/i915_vm_bind.h | 490 +++ 1 file changed, 490 insertions(+) create mode 100644 Documentation/gpu/rfc/i915_vm_bind.h diff --git a/Documentation/gpu/rfc/i915_vm_bind.h

[PATCH 1/3] drm/doc/rfc: VM_BIND feature design document

2022-06-10 Thread Niranjana Vishwanathapura
VM_BIND design document with description of intended use cases. Signed-off-by: Niranjana Vishwanathapura --- Documentation/driver-api/dma-buf.rst | 2 + Documentation/gpu/rfc/i915_vm_bind.rst | 309 + Documentation/gpu/rfc/index.rst| 4 + 3 files changed,

[PATCH 2/3] drm/i915: Update i915 uapi documentation

2022-06-10 Thread Niranjana Vishwanathapura
Add some missing i915 upai documentation which the new i915 VM_BIND feature documentation will be refer to. Signed-off-by: Niranjana Vishwanathapura --- include/uapi/drm/i915_drm.h | 203 1 file changed, 158 insertions(+), 45 deletions(-) diff --git

[PATCH 0/3] drm/doc/rfc: i915 VM_BIND feature design + uapi

2022-06-10 Thread Niranjana Vishwanathapura
This is the i915 driver VM_BIND feature design RFC patch series along with the required uapi definition and description of intended use cases. This series is an updated version of the below RFC series. It address the review feedback by adding execbuf3 ioctl for vm_bind, adding multiple queues

Re: [PATCH 2/2] vfio/pci: Remove console drivers

2022-06-10 Thread Thomas Zimmermann
Hi Am 09.06.22 um 23:44 schrieb Alex Williamson: On Thu, 9 Jun 2022 15:41:02 -0600 Alex Williamson wrote: On Thu, 9 Jun 2022 11:13:22 +0200 Thomas Zimmermann wrote: Please have a look at the attached patch. It moves the aperture helpers to a location common to the various possible users

Re: [Intel-gfx] [RFC v3 1/3] drm/doc/rfc: VM_BIND feature design document

2022-06-10 Thread Lionel Landwerlin
On 09/06/2022 22:31, Niranjana Vishwanathapura wrote: On Thu, Jun 09, 2022 at 05:49:09PM +0300, Lionel Landwerlin wrote:   On 09/06/2022 00:55, Jason Ekstrand wrote:     On Wed, Jun 8, 2022 at 4:44 PM Niranjana Vishwanathapura     wrote:   On Wed, Jun 08, 2022 at 08:33:25AM +0100, Tvrtko

[PATCH] drm/vc4: hdmi: Fixed possible integer overflow

2022-06-10 Thread Saud Farooqui
Multiplying ints and saving it in unsigned long long could lead to integer overflow before being type casted to unsigned long long. Addresses-Coverity: 1505113: Unintentional integer overflow. Signed-off-by: Saud Farooqui --- drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +- 1 file changed, 1

[git pull] drm fixes for 5.19-rc2

2022-06-10 Thread Dave Airlie
Hi Linus, Not a huge amount here, mainly a bunch of scattered amdgpu fixes, and then some misc panfrost, bridge/panel ones, and one ast fix for multi-monitors. Probably pick up a bit more next week like rc3 often does. Dave. drm-fixes-2022-06-10: drm fixes for 5.19-rc2 amdgpu: - DCN 3.1 golden

<    1   2   3