]> git.baikalelectronics.ru Git - kernel.git/commit
drm/qxl: User page size macro for qxl release bo
authorbibo mao <maobibo@loongson.cn>
Tue, 14 Sep 2021 06:23:51 +0000 (02:23 -0400)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Sep 2021 06:21:32 +0000 (08:21 +0200)
commitac76d540bc8adc6f91613b7371d984e3ca1177d9
treee6a08fc14af142a13d5983ae24962ebe7203730f
parente8ce487aaa37a55ae63c1fe374316b6c184eeca9
drm/qxl: User page size macro for qxl release bo

Some architectures have different default page size, this patch
replaces hardcoded 4096 with PAGE_SIZE macro, since cmd bo size
is page aligned.

Signed-off-by: bibo mao <maobibo@loongson.cn>
Link: http://patchwork.freedesktop.org/patch/msgid/20210914062352.6102-1-maobibo@loongson.cn
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/qxl/qxl_release.c