diff options
| author | 2023-12-03 13:48:39 +0200 | |
|---|---|---|
| committer | 2023-12-04 07:26:29 +0200 | |
| commit | ae424921a5ca763fef4be46f900065db0b0870ae (patch) | |
| tree | e4e912f72369610485ccc69e49dbfadd1003268a /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | drm/i915/display: Convert intel_fb_modifier_to_tiling as non-static (diff) | |
drm/i915/display: Handle invalid fb_modifier in intel_fb_modifier_to_tiling
Lookup_modifier is returning INTEL_PLANE_CAP_TILING_4 on invalid
fb_modifier value. Use lookup_modifier_or_null in
intel_fb_modifier_to_tiling and return I915_TILING_NONE in case
lookup_modifier_or_null returns null.
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231203114840.841311-4-jouni.hogander@intel.com
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
