OSDN Git Service

drm/i915/irq: reduce inlines to reduce header dependencies
authorJani Nikula <jani.nikula@intel.com>
Wed, 18 Aug 2021 10:11:05 +0000 (13:11 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 20 Aug 2021 07:28:31 +0000 (10:28 +0300)
commit9e6dcf33eda91f49a6adac984115875773d11fba
treea440c859dcf642e72f18c74178f2cdaa49d55180
parentc00e14cd4d3fbc5469d6e367371f9e4786a08c03
drm/i915/irq: reduce inlines to reduce header dependencies

Presumably if the compiler is smart, it does not generate an extra
function call to the update functions that are now static.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/594f628740717cda5ef407a26ea03129c22ddc12.1629281426.git.jani.nikula@intel.com
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_irq.h