[PATCH 1/6] viafb: use more compact modesetting functions

From: Florian Tobias Schandinat
Date: Fri Aug 05 2011 - 17:33:52 EST


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@xxxxxx>

drivers/video/via/hw.c | 296 +----------------------------------
drivers/video/via/hw.h | 273 --------------------------------
drivers/video/via/share.h | 19 +--
drivers/video/via/via_modesetting.c | 100 ++++++++++++
drivers/video/via/via_modesetting.h | 18 ++
5 files changed, 128 insertions(+), 578 deletions(-)
--
1.6.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/