XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_fb_helper_surface_size Struct Reference

#include <drm_fb_helper.h>

Public Attributes

u32 fb_width
 
u32 fb_height
 
u32 surface_width
 
u32 surface_height
 
u32 surface_bpp
 
u32 surface_depth
 

Detailed Description

struct drm_fb_helper_surface_size - describes fbdev size and scanout surface size @fb_width: fbdev width @fb_height: fbdev height @surface_width: scanout buffer width @surface_height: scanout buffer height @surface_bpp: scanout buffer bpp @surface_depth: scanout buffer depth

Note that the scanout surface width/height may be larger than the fbdev width/height. In case of multiple displays, the scanout surface is sized according to the largest width/height (so it is large enough for all CRTCs to scanout). But the fbdev width/height is sized to the minimum width/ height of all the displays. This ensures that fbcon fits on the smallest of the attached displays. fb_width/fb_height is used by drm_fb_helper_fill_info() to fill out the &fb_info.var structure.

Member Data Documentation

◆ fb_height

u32 drm_fb_helper_surface_size::fb_height

◆ fb_width

u32 drm_fb_helper_surface_size::fb_width

◆ surface_bpp

u32 drm_fb_helper_surface_size::surface_bpp

◆ surface_depth

u32 drm_fb_helper_surface_size::surface_depth

◆ surface_height

u32 drm_fb_helper_surface_size::surface_height

◆ surface_width

u32 drm_fb_helper_surface_size::surface_width

The documentation for this struct was generated from the following file: