summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/mkregtable.c
Commit message (Collapse)AuthorAgeFilesLines
* radeon mkregtable: Add missing fclose() callsJesper Juhl2011-02-141-1/+4
| | | | | | | | | | | | | | | | drivers/gpu/drm/radeon/mkregtable.c:parser_auth() almost always remembers to fclose(file) before returning, but it misses two spots. This is not really important since the process will exit shortly after and thus close the file for us, but being explicit prevents static analysis tools from complaining about leaked memory and missing fclose() calls and it also seems to be the prefered style of the existing code to explicitly close the file. So, here's a patch to add the two missing fclose() calls. Signed-off-by: Jesper Juhl <jj@chaosbits.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
* drm/radeon: mkregtable.c: close a file before exitAlexander Beregalov2010-01-081-1/+3
| | | | | Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
* drm: radeon: Mark several functions static in mkregtableJosh Triplett2009-11-151-6/+6
| | | | Signed-off-by: Josh Triplett <josh@joshtriplett.org>
* drm/radeon: cleanup mkregtable.cDave Airlie2009-08-311-163/+157
| | | | | | This cleans up the code in mkregtable.c to be more kernel style. Signed-off-by: Dave Airlie <airlied@redhat.com>
* drm/radeon/kms: generate the safe register tables.Dave Airlie2009-08-211-0/+726
Previously we just made these offline and included them, but no reason we can't generate them at build time. TODO: add rs690 + r100/r200 when done. should we do rs480/rs690 no tcl version? Signed-off-by: Dave Airlie <airlied@redhat.com>
OpenPOWER on IntegriCloud