mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-01 18:55:12 +00:00
drm/virtio: use uint64_t more in virtio_gpu_context_init_ioctl
drm_virtgpu_context_set_param defines both param and value to be u64s. Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org> Reviewed-by: Josh Simonot <josh.simonot@gmail.com> Reviewed-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231018181727.772-1-gurchetansingh@chromium.org
This commit is contained in:
parent
540527b138
commit
e417825609
@ -565,8 +565,8 @@ static int virtio_gpu_context_init_ioctl(struct drm_device *dev,
|
||||
void *data, struct drm_file *file)
|
||||
{
|
||||
int ret = 0;
|
||||
uint32_t num_params, i, param, value;
|
||||
uint64_t valid_ring_mask;
|
||||
uint32_t num_params, i;
|
||||
uint64_t valid_ring_mask, param, value;
|
||||
size_t len;
|
||||
struct drm_virtgpu_context_set_param *ctx_set_params = NULL;
|
||||
struct virtio_gpu_device *vgdev = dev->dev_private;
|
||||
|
Loading…
Reference in New Issue
Block a user