diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-11-23 12:53:45 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-11-24 14:07:52 +0100 |
commit | 5580f263210d401a4f7a5601c9ec8dbe27da1fc1 (patch) | |
tree | 46bd7ddc43c1c3d76c8b83aca666f39bbdb0c43b /net/tipc/crypto.h | |
parent | 749ba65913c083f4acf319738b18fa7c0faeddb3 (diff) |
drm/ofdrm: Set preferred depth from format of scanout buffer
Set the preferred depth from the format of the scanout buffer. The
value cannot be hardcoded, as the scanout buffer is only known at
runtime. Keeping the existing switch statement just duplicates the
driver's existing logic for format detection.
Also remove the FIXME comment from the call to drm_fbdev_generic_setup()
as the driver now handles color depth and bpp values correctly.
v2:
* fix commit-message typo
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20221123115348.2521-5-tzimmermann@suse.de
Diffstat (limited to 'net/tipc/crypto.h')
0 files changed, 0 insertions, 0 deletions