intel/dev: Compute pixel pipe information based on geometry topology DRM query.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 27 Oct 2021 00:18:58 +0000 (17:18 -0700)
committerMarge Bot <emma+marge@anholt.net>
Sat, 30 Apr 2022 00:00:58 +0000 (00:00 +0000)
commit14cad38b1902a3c8aaf0b053e19e62222b80a70d
tree573427c34e82a2a254e7bcdbb3800204c422802c
parentbf02bffe156214dad942f56ee68c380d1968704f
intel/dev: Compute pixel pipe information based on geometry topology DRM query.

This changes the intel_device_info calculation to call an additional
DRM query requesting the geometry topology from the kernel, which may
differ from the result of the current topology query on XeHP+
platforms with compute-only and 3D-only DSSes.  This seems more
reliable than the current guesswork done in intel_device_info.c trying
to figure out which DSSes are available for the render CS.

Cc: 22.1 <mesa-stable>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14143>
src/intel/dev/intel_device_info.c