Re: [PATCH v2 1/2] drm/virtio: introduce the HOST_PAGE_SIZE feature
From: Dmitry Osipenko
Date: Thu Apr 03 2025 - 12:50:31 EST
On 4/2/25 20:55, Dmitry Osipenko wrote:
> On 4/2/25 20:46, Sergio Lopez wrote:
>> diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h
>> index bf2c9cabd20793e3851e749baadf210341445501..adc264df4e458e9c754936c3015c069e5ee6b899 100644
>> --- a/include/uapi/linux/virtio_gpu.h
>> +++ b/include/uapi/linux/virtio_gpu.h
>> @@ -64,6 +64,10 @@
>> * context_init and multiple timelines
>> */
>> #define VIRTIO_GPU_F_CONTEXT_INIT 4
>> +/*
>> + * Config struct contains host page size
>> + */
>> +#define VIRTIO_GPU_F_HOST_PAGE_SIZE 5
>>
>> enum virtio_gpu_ctrl_type {
>> VIRTIO_GPU_UNDEFINED = 0,
>> @@ -364,6 +368,7 @@ struct virtio_gpu_config {
>> __le32 events_clear;
>> __le32 num_scanouts;
>> __le32 num_capsets;
>> + __le32 host_page_size;
>> };
>
> Hi, this is still a spec change and the virtio-gpu spec update is need.
> Please send the spec patch, I'd want to see that it won't have new
> objections before merging the kernel patches.
Noticed the virtio-spec patch now. My bad for missing it a day ago,
thanks for sending it!
--
Best regards,
Dmitry