summaryrefslogtreecommitdiff
path: root/tests/i915/kms_flip_scaled_crc.c
diff options
context:
space:
mode:
authorJessica Zhang <quic_jesszhan@quicinc.com>2022-04-21 14:34:42 -0700
committerPetri Latvala <petri.latvala@intel.com>2022-04-22 14:42:24 +0300
commit44db0d842c30b59dd88ea1ebcd7106504303eccb (patch)
tree6b4b4dd5ab341b17968d40aaf3e481f0e9dc2b0b /tests/i915/kms_flip_scaled_crc.c
parentfa0608879f2894fe6ad5954eb18738d44fa23f57 (diff)
tests/kms_universal_plane: Change num_primary and num_cursor asserts into warnings
This check was originally put in place to prevent accidental calls to drm_plane_init instead of drm_universal_plane_init to go uncaught due to similarities in parameters. However, both method signatures have now diverged enough so that accidental calls will be caught by the compiler. In addition, DRM allows drivers to support multiple primary planes, so demoting the assert to a warning instead will prevent subtests from being blocked for drivers where multiple primary planes are supported. Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com> Acked-by: Matt Roper <matthew.d.roper@intel.com>
Diffstat (limited to 'tests/i915/kms_flip_scaled_crc.c')
0 files changed, 0 insertions, 0 deletions