drm/ofdrm: Add per-model device function
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 11 Oct 2022 15:07:10 +0000 (17:07 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 14 Oct 2022 07:50:13 +0000 (09:50 +0200)
commitf496834e167451afc5f0c699ada143a7641b4e85
treef874a901be372bee891cddd10a92aeb70b083f81
parent4113744354b3bafe4e0355c967e4217605627b8b
drm/ofdrm: Add per-model device function

Add a per-model device-function structure in preparation of adding
color-management support. Detection of the individual models has been
taken from fbdev's offb.

v3:
* define constants for PCI ids (Javier)

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