]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: Add i915 hook for format_mod_supported_async
authorArun R Murthy <arun.r.murthy@intel.com>
Mon, 7 Apr 2025 05:43:48 +0000 (11:13 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Fri, 9 May 2025 10:00:40 +0000 (15:30 +0530)
commit01963b624e2b330d687201f864654ae0aee5460e
tree4b0f20b4ed2349f91157e131013ebc9ce9d175b1
parented1d563c7f0fee5e63048c53c10fa1ef69c74f77
drm/i915/display: Add i915 hook for format_mod_supported_async

Hook up the newly added plane function pointer
format_mod_supported_async to populate the modifiers/formats supported
by asynchronous flips.

v5: Correct the if condition for modifier support check (Chaitanya)
v6: Replace uint32_t/uint64_t with u32/u64 (Jani)
v7: Move plannar check from intel_async_flip_check_hw() to
intel_plane_format_mod_supported_async() (Ville)
v8: In case of error print format/modifier (Chaitanya)
v9: Exclude C8 format as its not supported by hardware
v10: filter only planar formats
     move changes in can_async_flip to new patch (Ville)

Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://lore.kernel.org/r/20250407-asyn-v13-4-b93ef83076c5@intel.com
drivers/gpu/drm/i915/display/i9xx_plane.c
drivers/gpu/drm/i915/display/intel_atomic_plane.c
drivers/gpu/drm/i915/display/intel_atomic_plane.h
drivers/gpu/drm/i915/display/skl_universal_plane.c