Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5eddb70b authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: Use macros to switch between equivalent pipe registers



The purpose is to make the code much easier to read and therefore reduce
the possibility for bugs.

A side effect is that it also makes it much easier for the compiler,
reducing the object size by 4k -- from just a few functions!

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 4ed765f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment