]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Update runtime detection of has_flat_ccs
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 4 Sep 2024 16:22:38 +0000 (09:22 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 6 Sep 2024 17:19:42 +0000 (10:19 -0700)
commit0c841e47d8d94bd0f5444a25052d86c0b1f2c2e8
treef00a24a4b415d4a3064a252d131e436434956d23
parentb43723f864618be715646d6164469f5e4d77aa7e
drm/xe: Update runtime detection of has_flat_ccs

It's confusing to have a *set* function that actually probes the
hardware rather than receiving a parameter. Rename it to *probe* along
with prefix removal and comment in the relevant places that the
has_flat_ccs flag may be overridden in runtime.

While at it, fix the mixed declaration of struct xe_gt.

Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240904162238.2831202-2-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_pci.c