diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2023-11-27 16:15:34 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2023-11-29 14:20:13 +0300 |
commit | 30b72c0bde93ae3001736b596cf94bfb47c5e159 (patch) | |
tree | af2b3a52af40dc3a8f35b207ee0219f226dce5ee | |
parent | 853767b6b94630ac6388aa8e7893d3df26be53be (diff) | |
download | linux-30b72c0bde93ae3001736b596cf94bfb47c5e159.tar.xz |
fbdev/arcfb: Set FBINFO_VIRTFB flag
The arcfb driver operates on system memory. Mark the framebuffer
accordingly. Helpers operating on the framebuffer memory will test
for the presence of this flag.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Jaya Kumar <jayalk@intworks.biz>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231127131655.4020-6-tzimmermann@suse.de
-rw-r--r-- | drivers/video/fbdev/arcfb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/arcfb.c b/drivers/video/fbdev/arcfb.c index cff11cb04a55..7344e825543a 100644 --- a/drivers/video/fbdev/arcfb.c +++ b/drivers/video/fbdev/arcfb.c @@ -529,6 +529,7 @@ static int arcfb_probe(struct platform_device *dev) if (!info) goto err_fb_alloc; + info->flags |= FBINFO_VIRTFB; info->screen_buffer = videomemory; info->fbops = &arcfb_ops; |