diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-02-12 10:06:11 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-02-14 10:09:17 +0100 |
commit | 9eac534db0013aff9b9124985dab114600df9081 (patch) | |
tree | 021ca3f4fcfe89d2881a3ae1c323bc0fc740bd5e /drivers/video | |
parent | 036105e3a776b6fc2fe0d262896a23ff2cc2e6b1 (diff) |
firmware/sysfb: Set firmware-framebuffer parent device
Set the firmware framebuffer's parent device, which usually is the
graphics hardware's physical device. Integrates the framebuffer in
the Linux device hierarchy and lets Linux handle dependencies among
devices. For example, the graphics hardware won't be suspended while
the firmware device is still active.
v4:
* fix build for CONFIG_SYSFB_SIMPLEFB=n, again
v3:
* fix build for CONFIG_SYSFB_SIMPLEFB=n (Sui)
* test result of screen_info_pci_dev() for errors (Sui)
v2:
* detect parent device in sysfb_parent_dev()
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240212090736.11464-4-tzimmermann@suse.de
Diffstat (limited to 'drivers/video')
0 files changed, 0 insertions, 0 deletions