Age | Commit message (Collapse) | Author |
|
Wire up the RandR 1.2 gamma_set hook. Call it from G80SetPalette like the Intel
driver does.
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Andy Ritger <aritger@nvidia.com>
Reviewed-by: Christian Zander <chzander@nvidia.com>
|
|
Revamp how the scaling code works. When a mode is set on a DVI output,
determine the current preferred mode and scale to that. Add a new scaling
option, "off", which disables scaling and scans out the actual timings in the
mode to be set.
|
|
This property controls how non-native resolutions are scaled to the native
resolution. Valid values are:
* center: 1:1 pixel ratio with black borders to center the image.
* fill: Scale image to the native resolution.
* aspect: Scale image to fit the screen, adding black bars to preserve
square pixels.
Defaults to "aspect". Change with "xrandr --output LVDS --set scale <foo>".
|
|
|
|
Compute the HW parameters in G80CrtcModeFixup and stash them in adjusted_mode.
Move some register writes into G80CreateSor.
|
|
|
|
Mostly just rearranging code.
|
|
|
|
|