xserver/hw/xfree86/modes
Daniel Martin cf1da0e797 Use ARRAY_SIZE all over the tree
Roundhouse kick replacing the various (sizeof(foo)/sizeof(foo[0])) with
the ARRAY_SIZE macro from dix.h when possible. A semantic patch for
coccinelle has been used first. Additionally, a few macros have been
inlined as they had only one or two users.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit d5379b350f)
2021-02-20 17:39:29 -08:00
..
Makefile.am xfree86: Remove DisplayID support 2014-09-26 15:27:18 -04:00
xf86Crtc.c xfree86/modes: Move gamma initialization to xf86RandR12Init12 v2 2016-07-27 17:49:39 +09:00
xf86Crtc.h randr/xf86: Add PRIME Synchronization / Double Buffer 2016-06-28 12:56:17 -04:00
xf86Cursors.c xf86Cursor: Deal with rotation on GPU screens using a hw-cursor 2016-09-13 10:27:12 +02:00
xf86cvt.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86DiDGA.c Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
xf86EdidModes.c Use ARRAY_SIZE all over the tree 2021-02-20 17:39:29 -08:00
xf86gtf.c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86Modes.c xfree86 warning reduction 2014-01-12 10:14:49 -08:00
xf86Modes.h Eliminate the use of xf86Rename.h 2013-04-24 10:22:20 -07:00
xf86RandR12.c xfree86/modes: Use RRTransformEqual in xf86RandR12CrtcSet 2017-09-25 15:34:10 -04:00
xf86RandR12.h xfree86: Hook up colormaps and RandR 1.2 gamma code v6 2016-07-28 10:12:05 +09:00
xf86Rotate.c Remove readmask from screen block/wakeup handler 2016-07-18 15:27:51 -04:00