]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add plane .{min,max}_width() and .max_height() vfuncs
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 24 Sep 2020 18:51:13 +0000 (21:51 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 10 Nov 2020 18:37:38 +0000 (20:37 +0200)
commitd28e7f7042644531691262c7bffb0ca06a4569dd
treeebf7519ae78e1dc276c39c53352e9c7164a99f1d
parent78b9d446570c2e7218db9091f6cb9c3b99e51ad3
drm/i915: Add plane .{min,max}_width() and .max_height() vfuncs

Reduce this maintenance nightmare a bit by converting the plane
min/max width/height stuff into vfuncs.

Now, if I could just think of a nice way to also use this for
intel_mode_valid_max_plane_size()...

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200924185113.30849-1-ville.syrjala@linux.intel.com
Reviewed-by: Aditya Swarup <aditya.swarup@intel.com>
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display_types.h
drivers/gpu/drm/i915/display/intel_sprite.c