diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-05-06 15:57:15 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-05-13 19:22:08 +0300 |
commit | 67f5728a895454108383d46e14ccecf8db117ea3 (patch) | |
tree | 3f3835f8fbfc68bcfa56db76f111f76fcacb223d /drivers/gpu/drm/i915/display/intel_fbdev_fb.c | |
parent | 56c12ec72ae8bd90cce1ea59dba2b93f986606be (diff) |
drm/i915: Constify 'fb' in during pinning
Make the 'fb' pointers const in the pinning code. We never
want to mutate these. Also nuke a few aliasing fb vs. intel_fb
cases by just using the more specific type everywhere in the
same function.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240506125718.26001-7-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_fbdev_fb.c')
0 files changed, 0 insertions, 0 deletions