ac/gpu_info: rearrange if checks for dcc config
authorYogesh Mohan Marimuthu <yogesh.mohanmarimuthu@amd.com>
Tue, 6 Jun 2023 06:04:05 +0000 (11:34 +0530)
committerMarge Bot <emma+marge@anholt.net>
Wed, 7 Jun 2023 19:28:29 +0000 (19:28 +0000)
commit7761e93c8c8a5a0dd02f1c7c94531d961d5baf41
treea8ff1b64da7df51e8738fbeadd7139a774565f15
parent6f968f46fe56c7e22086687886844413b17da89a
ac/gpu_info: rearrange if checks for dcc config

rearrange the if checks so that there is less if checks
for newer gpus.

v2: fix block comment coding guideline (Marek Olšák)
    simplify gfx9 if condition (Marek Olšák)

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23454>
src/amd/common/ac_gpu_info.c