summaryrefslogtreecommitdiff
path: root/src/g80_display.c
AgeCommit message (Collapse)Author
2024-05-11g80/disp: preinit all heads we know in displayYusuf Khan
Signed-off-by: Yusuf Khan <yusisamerican@gmail.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/16>
2024-05-11g80/display: Annotate functionsYusuf Khan
Signed-off-by: Yusuf Khan <yusisamerican@gmail.com> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/16>
2024-05-08use XNFcallocarray() instead of xnfcalloc macroEnrico Weigelt, metux IT consult
xnfcalloc is just an alias for XNFcallocarray() that doesn't seem to serve any practical purpose, so it can go away once all drivers stopped using it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nv/-/merge_requests/18>
2011-03-01Fix compiler warning.Cyril Brulebois
Get rid of this with CFLAGS="-Wall -Werror": | CC g80_display.lo | cc1: warnings being treated as errors | g80_display.c: In function ‘G80CrtcSetPClk’: | g80_display.c:216: error: unused variable ‘i’ Signed-off-by: Cyril Brulebois <kibi@debian.org> Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Tested-by: Aaron Plattner <aplattner@nvidia.com>
2010-07-23Remove RANDR_12_INTERFACE checking, always defined.Gaetan Nadon
RANDR_12_INTERFACE is defined in xserver/randr/randstr.h since version 1.2. This driver only configures against xserver 1.3 or higher. Reported-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2010-03-02Bug #26612: Separate LUTs per output.Aaron Plattner
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>
2009-12-15g80: Add a no-op gamma hook so we don't crash on 1.7 serversAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-06-12Fix modesets on certain GPUs that were broken by the previous commit.Aaron Plattner
2009-06-10New chip support.Aaron Plattner
Part of the G80DispPreInit change suggested by <shenyn321@hotmail.com>.
2008-08-24Bug #15309: Set the pixel clock even if the hardware doesn't think it needs it.Aaron Plattner
Fixes a problem where switching from DVI to VGA hangs.
2008-04-28Fix a few startup bugs.Aaron Plattner
2008-03-07Bug #14885: Add missing static keywords.Aaron Plattner
2007-10-13G80 bug #12637: Unwedge the hardware if the BIOS left it stuck.Aaron Plattner
2007-09-17Fix uninitialized variable warning.Aaron Plattner
2007-07-24G80: Allow DVI scaling.Aaron Plattner
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.
2007-07-13G80: Add an LVDS flat panel scaling property.Aaron Plattner
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>".
2007-07-10G80: Add a dithering property and corresponding config file option.Aaron Plattner
2007-06-05G80: Rearrange HW video timing computations.Aaron Plattner
Compute the HW parameters in G80CrtcModeFixup and stash them in adjusted_mode. Move some register writes into G80CreateSor.
2007-04-13G80: Get rid of debug printouts.Aaron Plattner
2007-04-13G80: Get DPMS working with RandR 1.2.Aaron Plattner
Work around xf86DisableUnusedFunctions lameness by forcing DPMSModeOn at modeset time.
2007-04-02G80: Get HW cursor working with RandR 1.2.Aaron Plattner
2007-03-27Fix warnings.Aaron Plattner
2007-03-11Initial RandR 1.2 support for G80.root
Mostly just rearranging code.
2007-03-10Get rid of BackendMode and disable hw cursor for now.root
2007-03-09Use DAC load detection to decide which OR to use instead of trusting the EDID.Aaron Plattner
2007-03-08Initial G80 support. Bump to 1.99.1.Aaron Plattner