r600/sfn: Initialize BlockScheduler member m_chip_family.
authorVinson Lee <vlee@freedesktop.org>
Mon, 29 May 2023 03:35:54 +0000 (20:35 -0700)
committerMarge Bot <emma+marge@anholt.net>
Wed, 31 May 2023 06:18:47 +0000 (06:18 +0000)
commited2d7719311208ee34ae1eb9f540076cd21b8def
tree64cc57d92543078a958ce3684077afd70aff8519
parent673acc3d011d70a1f9e1599454f407523f306fcb
r600/sfn: Initialize BlockScheduler member m_chip_family.

Fix defect reported by Coverity Scan.

Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member m_chip_family is not initialized
in this constructor nor in any functions that it calls.

Fixes: e57643cf548 ("r600/sfn: Add handling for R600 indirect access alias handling")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23290>
src/gallium/drivers/r600/sfn/sfn_scheduler.cpp