summaryrefslogtreecommitdiffstats
path: root/drivers/video/via/via_modesetting.h
Commit message (Collapse)AuthorAgeFilesLines
* viafb: rename display_timing to via_display_timingSteffen Trumtrar2013-01-241-3/+3
| | | | | | | | | | The struct display_timing is specific to the via subsystem. The naming leads to collisions with the new struct display_timing, which is supposed to be a shared struct between different subsystems. To clean this up, prepend the existing struct with the subsystem it is specific to. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
* viafb: use more compact modesetting functionsFlorian Tobias Schandinat2011-08-051-0/+18
| | | | | | | | | | | This patch replaces the old timing setup code with a redesigned one. The new code might be slightly faster as it has no conditinals and does not write the same register multiple times. Also it makes the comparison to the documentation easier. Regressions are unlikely but could happen as a lot of hardware is undocumented. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
* viafb: improve pitch handlingFlorian Tobias Schandinat2011-07-171-0/+5
| | | | | | | | | This patch adds checks for minimum and maximum pitch size to prevent invalid settings which could otherwise crash the machine. Also the alignment is done in a slightly more readable way. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: stable@kernel.org
* viafb: move some modesetting functions to a seperate fileFlorian Tobias Schandinat2010-05-071-0/+38
viafb: move some modesetting functions to a seperate file This patch moves the modesetting functions which are already cleaned up to a seperate file. Just the beginning to bring some structure in this mess. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
OpenPOWER on IntegriCloud