[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <622e2064-095f-d2da-0ad1-887642306020@collabora.com>
Date: Mon, 13 Nov 2023 16:18:34 +0300
From: Dmitry Osipenko <dmitry.osipenko@...labora.com>
To: Julia Zhang <julia.zhang@....com>,
Gurchetan Singh <gurchetansingh@...omium.org>,
Chia-I Wu <olvaffe@...il.com>,
David Airlie <airlied@...hat.com>,
Gerd Hoffmann <kraxel@...hat.com>,
linux-kernel@...r.kernel.org, dri-devel@...ts.freedesktop.org,
amd-gfx@...ts.freedesktop.org,
virtualization@...ts.linux-foundation.org
Cc: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@....com>,
Erik Faye-Lund <kusmabite@...il.com>,
Marek Olšák <marek.olsak@....com>,
Chen Jiqian <Jiqian.Chen@....com>,
Huang Rui <ray.huang@....com>,
Honglei Huang <honglei1.huang@....com>,
Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>
Subject: Re: [PATCH 2/2] drm/virtio: Modify RESOURCE_GET_LAYOUT ioctl
On 11/10/23 10:16, Julia Zhang wrote:
> Modify RESOURCE_GET_LAYOUT ioctl to handle the use case that query
> correct stride for guest linear resource before it is created.
>
> Signed-off-by: Julia Zhang <julia.zhang@....com>
> ---
> drivers/gpu/drm/virtio/virtgpu_drv.h | 26 ++++++++------
> drivers/gpu/drm/virtio/virtgpu_ioctl.c | 47 ++++++++++++--------------
> drivers/gpu/drm/virtio/virtgpu_vq.c | 35 +++++++++++--------
> include/uapi/drm/virtgpu_drm.h | 6 ++--
> include/uapi/linux/virtio_gpu.h | 8 ++---
> 5 files changed, 66 insertions(+), 56 deletions(-)
1. Please squash this all into a single patch. For upstream kernel it's
not acceptable to have subsequent commits modifying previous commits. To
commit message add your s-o-b, your co-developed-by tags and a brief
comment explaining changes you've done to the original patch.
Signed-off-by: Daniel Stone <daniels@...labora.com>
Co-developed-by: Julia Zhang <julia.zhang@....com> # query correct
stride for guest linear resource before it's created
Signed-off-by: Julia Zhang <julia.zhang@....com>
2. Make sure that patch passes `scripts/checkpatch.pl`
3. Add link to the commit message for the relevant Mesa MR that makes
use of the new ioctl. The MR should be already merged or ready to be merged.
Link: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/123456
--
Best regards,
Dmitry
Powered by blists - more mailing lists