intel_extreme: reduce use of display_mode where display_timing is enough
In most cases we don't need to use the complete display_mode struct and we just need the timings. This will avoid future confusion between the virtual width/height and the actual display timings, if we implement scrolling someday. Change-Id: I6c4430b84130b956a47ea0a01afb0843f5a34fd2 Reviewed-on: https://review.haiku-os.org/c/haiku/+/4665 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
0cabd8891f
commit
4492fde7bf
@@ -249,7 +249,7 @@ struct intel_shared_info {
|
||||
uint32 mode_count;
|
||||
|
||||
display_mode current_mode; // pretty much a hack until per-display modes
|
||||
display_mode panel_mode; // VBIOS VBT panel mode
|
||||
display_timing panel_timing; // Hardware timings of the LVDS panel, extracted from BIOS
|
||||
uint32 bytes_per_row;
|
||||
uint32 bits_per_pixel;
|
||||
uint32 dpms_mode;
|
||||
|
||||
Reference in New Issue
Block a user