summaryrefslogtreecommitdiff
path: root/src/gfx
AgeCommit message (Collapse)Author
2024-06-24Suppress majority of compiler warningsConnor Behan
This applies some obvious changes to stop gcc from complaining about dead code, shadow declarations, differing signedness and sections that mix declarations with code. The warning about discarding const qualifiers is more annoying because we pass string literals to some functions which accept non-const pointers. Currently, this takes the following approach. If the function *needs* to accept non-const pointers, cast the string literal as char *. Otherwise, change the function to only accept a const pointer. To anticipate future use cases though, I could also leave function definitions as they are and just always cast string literals. Alternatively, if this is more trouble that it is worth, we could just put up with the warnings. Signed-off-by: Connor Behan <connor.behan@gmail.com>
2024-06-18vid_rdc1: fix unused variable "value"Enrico Weigelt, metux IT consult
Fix warning on unused variable "value". Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2024-06-18fix rendundant declarationsEnrico Weigelt, metux IT consult
Fix a a lot warnings on duplicate forward declarations. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2022-08-03src/gfx/i2c_acc.c: Convert from ISO-8859-1 to UTF-8Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22Fix spelling/wording issuesAlan Coopersmith
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2012-07-11Whitespace cleanup using ../modular/x-indent.shMartin-Éric Racine
2010-01-26gfx: document panel related methods availableOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2008-03-14amd: fix compile and warning issues from the mergeJordan Crouse
2008-01-14Basic OLPC support from Bernardo Innocenti and Jordan Crouse.xf86-video-amd-2.7.7.5Martin-Éric Racine
2007-05-31Add extra GCC warning fu. -Wall cleanup.Adam Jackson
2007-01-12Correctly program the sync polarity taking into account the GX wierdnessJordan Crouse
2006-12-20Replace the VSA MSR interface with something more saneJordan Crouse
2006-11-08PATCH: More gamma fixesJordan Crouse
Be smarter about how gamma is saved and restored by checking the bits.
2006-09-28Update for 7.2 - fix config.h and other include problems.Jordan Crouse
This closes bug 8290 by applying the patch from Andres Salomon.
2006-07-07Update with cleanup and other fixesJordan Crouse
Final commit of cleanup fixes prior to pushing
2006-07-06Initial commit of the xf86-video-amd treeJordan Crouse