OSDN Git Service

drm/qxl: drop set_prod_notify parameter from qxl_ring_create
authorZongmin Zhou <zhouzongmin@kylinos.cn>
Tue, 20 Sep 2022 06:50:23 +0000 (14:50 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 23 Sep 2022 11:16:37 +0000 (13:16 +0200)
commit461a4df2a833bc6d83139ecf117e2f844f38f655
treee8cba1bb88fc2923656d51da19e0aa00a63caa69
parent09847723c12fc2753749cec3939a02ee92dac468
drm/qxl: drop set_prod_notify parameter from qxl_ring_create

Since qxl_io_reset(qdev) will be called immediately
after qxl_ring_create() been called,
and parameter like notify_on_prod will be set to default value.
So the call to qxl_ring_init_hdr() before becomes meaningless.

Signed-off-by: Zongmin Zhou<zhouzongmin@kylinos.cn>
Suggested-by: Ming Xie<xieming@kylinos.cn>
Link: http://patchwork.freedesktop.org/patch/msgid/20220920065023.1633303-1-zhouzongmin@kylinos.cn
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/qxl/qxl_cmd.c
drivers/gpu/drm/qxl/qxl_drv.h
drivers/gpu/drm/qxl/qxl_kms.c