freedreno: Early exit in device matching if id doesn't have chip_id
authorDanylo Piliaiev <dpiliaiev@igalia.com>
Thu, 27 Apr 2023 20:33:19 +0000 (22:33 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 27 Apr 2023 21:06:46 +0000 (21:06 +0000)
commit569ed0f238658560302b907ca9ff5b11187473bd
treeff043690b6fe3e12998188d284088d4e7ed28a19
parent7ddc31c6721d241ba61573207c18c6b4626e4f78
freedreno: Early exit in device matching if id doesn't have chip_id

Assert was wrong and caused issues when there are devices defined
after devices that are matched by chip_id.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21498>
src/freedreno/common/freedreno_dev_info.c
src/freedreno/ir3/tests/disasm.c