summaryrefslogtreecommitdiff
path: root/src/lx_output.c
AgeCommit message (Collapse)Author
2010-12-15Restoring compatibility down to X server 1.4Priit Laes
Signed-off-by: Priit Laes <plaes@plaes.org>
2010-10-28Revert "Simplify the mode_valid function"Martin-Éric Racine
This reverts commit fab58e111b6655602b4f739260a01247ff478f35.
2010-10-28Simplify the mode_valid functionHuang, FrankR
Signed-off-by: Frank Huang<frankr.huang@amd.com>
2010-10-27Add get_crtc output functionDaniel Drake
I don't know why X can't do this itself, but when no get_crtc method is provided, X decides that it doesn't know the CRTC of the output and decides to reset the mode completely (causing display powerdown, resulting in an uncomfortable visual interruption to OLPC's boot process).
2010-09-29Mode Validation support on modeline in xorg.confFrank Huang
*mode validation(lx_output_mode_valid) in this driver should return MODE_OK for all modes filtered out by previous process in this function. Otherwise, new modelines(conf_modes) will be pruned by Xserver function Xf86PruneInvalidModes. The result is that the user can not set arbitrary resolutions. We comply with the code of ATI&&Intel mode_valid function to do this. *For modes that cannot be supported by the geode driver, it is better to give the specific MODE_XXX(such as MODE_CLOCK_RANGE) instead of MODE_BAD. Signed-off-by: Frank Huang <frankr.huang@amd.com>
2010-09-21fix the DCON verification loop for LX outputAndres Salomon
This is pretty clearly a bug. This should fix it (after all, that check is merely to see if the panel is a DCON; we don't care at all about the panel bit). This also adds an extra parenthesis in the following if() statement for clarity. I'm resisting the temptation to change GeodeRec's Output member to an unsigned long (for now). Bitfields should really be unsigned. Signed-off-by: Andres Salomon <dilinger@queued.net>
2010-09-01Replace xalloc/xrealloc/xfree/xcalloc with malloc/realloc/free/callocFrank Huang
* Replace the deprecated functions with new ones Refer to "/xserver/include/os.h" Signed-off-by: Frank Huang <frankr.huang@amd.com>
2010-05-29LX: validate display modesOtavio Salvador
To avoid using virtual desktop by default we now validate the display modes. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2009-09-27Revert "LX: validate display modes"Martin-Éric Racine
This reverts commit 3af472f4453f8e92a9f303e64e2796836374d980. This commit had broken detection of arbitrary non-VESA resolutions, which affected the OLPC XO-1 and a number of Geode-based notebooks.
2009-09-19LX: validate display modesOtavio Salvador
To avoid using virtual desktop by default we now validate the display modes. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2009-09-05Fixed a typo in src/lx_output.c debug message.Martin-Éric Racine
2008-11-26xf86-video-geode: DCON: set the default (physical) screen size if we detect ↵Andres Salomon
a DCON We can be assured that a DCON device has an OLPC panel that's 152x114 mm. This adds fields to GeodeRec to allow other panels to potentially override physical width/height fields, and also allows xorg.conf to override the values. Signed-off-by: Andres Salomon <dilinger@debian.org>
2008-08-18lx: Add rotation for Randr 1.2 + cleanupsJordan Crouse
Enable rotation through RandR 1.2 and add the accelerated rotation blit the EXA composite function. Also, fix a handful of critical bugs and remove some more dead code.
2008-08-07[LX] - Add RandR 1.2 supportJordan Crouse
A wholesale update to Randr 1.2 for LX accompanied by massive cleanup.