drm/ssd130x: Set the page height value in the device info data
authorJavier Martinez Canillas <javierm@redhat.com>
Fri, 9 Jun 2023 17:09:38 +0000 (19:09 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Thu, 15 Jun 2023 21:50:44 +0000 (23:50 +0200)
commit179a790aaf2a01279c358bf4f4f62b6958473cd5
tree3df89b7cf6d0eef8e5030554a3aeacbec923c206
parent591825fba8a292aa7052a02881a0c5033373b1f4
drm/ssd130x: Set the page height value in the device info data

The driver only supports OLED controllers that have a page height of 8 but
there are devices that have different page heights. So it is better to not
hardcode this value and instead have it as a per controller data value.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230609170941.1150941-4-javierm@redhat.com
drivers/gpu/drm/solomon/ssd130x.c
drivers/gpu/drm/solomon/ssd130x.h