drm/gma500: Remove struct psb_gem_object.npage
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 8 Mar 2022 19:52:11 +0000 (20:52 +0100)
committerPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Wed, 16 Mar 2022 16:42:17 +0000 (17:42 +0100)
commitde2d1822f9489268e0707b2d188dd789d5effd08
treec21b9cf5b18324db757b7e119208eb4a327a723d
parent47042e0ddd218f100292cebc5208cb1eff7473b6
drm/gma500: Remove struct psb_gem_object.npage

Calculate the number of pages in the BO's backing storage from
the size. Remove the npage field.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220308195222.13471-2-tzimmermann@suse.de
drivers/gpu/drm/gma500/gem.c
drivers/gpu/drm/gma500/gem.h
drivers/gpu/drm/gma500/gma_display.c