]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Cleanup fbdev fb setup
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 10 May 2024 10:22:57 +0000 (13:22 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 13 May 2024 16:23:08 +0000 (19:23 +0300)
commit9e9402b64a9bb217be5a713758082808425b64ae
tree7e57bdb9d1dd83904917d1480992a9a2bf4aadb8
parent6eca4dbe499890ce4340f49d309029e131e1e3e7
drm/i915: Cleanup fbdev fb setup

We use a mix of 'intel_fb' vs. 'ifbdev->fb' in the same function.
Both should be pointing at the same thing. Make things less
confusing by just getting existing fb from 'ifbdev->fb' at the
start and then sticking with the local 'fb' (renamed from the
'intel_fb') until the very end.

v2: rebase

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240510102257.25096-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_fbdev.c