gxfb: create DC/VP/FP-specific handlers rather than using readl/writel
authorAndres Salomon <dilinger@queued.net>
Mon, 28 Apr 2008 09:14:58 +0000 (02:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:36 +0000 (08:58 -0700)
commitab06aaf6a6d5de896e4c52e158be2881036cbee9
tree3d79964d83d71f2e77955e5b4dada8bec5912c40
parentfa20c8a6e520d9ccd68c8101155ffdbc19c977c3
gxfb: create DC/VP/FP-specific handlers rather than using readl/writel

This creates read_dc/write_dc, read_vp/write_vp, and read_fp/write_fp for
reading and updating those registers.  It creates gxfb.h to house these.

We also drop a no-op readl() from gx_set_mode.  Other than that, there should
be no functionality change.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/geode/display_gx.c
drivers/video/geode/gxfb.h [new file with mode: 0644]
drivers/video/geode/gxfb_core.c
drivers/video/geode/video_gx.c