]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/rtp: Allow to match 0 sr entries
authorLucas De Marchi <lucas.demarchi@intel.com>
Tue, 18 Jun 2024 05:00:40 +0000 (22:00 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 18 Jun 2024 19:03:27 +0000 (12:03 -0700)
commit6045473650c40848122f5042b112606ce5d14406
tree8c230d2ed54acfcb2bb2d9d5d2af5b0e5aad89f5
parentf0ccd2d805e55e12b430d5d6b9acd9f891af455e
drm/xe/rtp: Allow to match 0 sr entries

If none of the rules match, there should be 0 entries in the sr xarray,
so none of them should have a register matching.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240618050044.324454-2-lucas.demarchi@intel.com
drivers/gpu/drm/xe/tests/xe_rtp_test.c