intel/isl: Remove 'inline' keywords
authorMatt Turner <mattst88@gmail.com>
Fri, 7 Jul 2017 04:19:18 +0000 (21:19 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 29 Aug 2017 22:20:57 +0000 (15:20 -0700)
commit9fdbc273efdf20f325f9711997ae77016f3d4e0a
treead6292e6f127b931afa1788d84bf40e457214eab
parentcdbaa8a12feff2286b61cecf0b2e5b3feb8d902d
intel/isl: Remove 'inline' keywords

Unless you have data, the compiler knows better than you whether a
function should be inlined.

Unlike all other cases in this series, the removal of the inline keyword
from isl_format_has_channel_type actually changes the resulting binary
with gcc-6.3.0:

   text    data     bss     dec     hex filename
7831116  346384  420648 8598148  833284 i965_dri.so before
7830716  346384  420648 8597748  8330f4 i965_dri.so after

I think this is likely an improvement. No difference in the resulting
binary with clang-4.0.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/intel/isl/isl_emit_depth_stencil.c
src/intel/isl/isl_format.c
src/intel/isl/isl_surface_state.c