]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Invert if/else ladder for stolen init
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 13 Sep 2022 21:09:58 +0000 (14:09 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 15 Sep 2022 00:32:39 +0000 (17:32 -0700)
commit542110f21d811f0fbc661bcc9365e45e23e8d422
treeb59edcbfc35cb7448319997d26c316f72e4bb691
parent1416b5473d34d89a85c02889b724f32b56ef12ea
drm/i915: Invert if/else ladder for stolen init

Continue converting the driver to the convention of last version first,
extending it to the future platforms. Now, any GRAPHICS_VER >= 11 will
be handled by the first branch.

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220908-if-ladder-v2-3-7a7b15545c93@intel.com
Link: https://patchwork.freedesktop.org/patch/msgid/20220912-copy-engine-v1-1-ef92fd81758d@intel.com
drivers/gpu/drm/i915/gem/i915_gem_stolen.c