intel_extreme: do configure the LVDS panel when we use native resolution
Should fix the remaining problem in #14066
This commit is contained in:
@@ -600,7 +600,7 @@ LVDSPort::SetDisplayMode(display_mode* target, uint32 colorMode)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Program target display mode
|
// Program target display mode
|
||||||
fPipe->ConfigureTimings(target, false);
|
fPipe->ConfigureTimings(target, !needsScaling);
|
||||||
|
|
||||||
if (needsScaling) {
|
if (needsScaling) {
|
||||||
// Enable panel fitter in automatic mode. It will figure out
|
// Enable panel fitter in automatic mode. It will figure out
|
||||||
|
|||||||
@@ -73,7 +73,6 @@ get_color_space_format(const display_mode &mode, uint32 &colorMode,
|
|||||||
bytesPerRow = mode.virtual_width * bytesPerPixel;
|
bytesPerRow = mode.virtual_width * bytesPerPixel;
|
||||||
|
|
||||||
// Make sure bytesPerRow is a multiple of 64
|
// Make sure bytesPerRow is a multiple of 64
|
||||||
// TODO: check if the older chips have the same restriction!
|
|
||||||
if ((bytesPerRow & 63) != 0)
|
if ((bytesPerRow & 63) != 0)
|
||||||
bytesPerRow = (bytesPerRow + 63) & ~63;
|
bytesPerRow = (bytesPerRow + 63) & ~63;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user