drm/xe: Constify xe_dss_mask_group_ffs()
authorLucas De Marchi <lucas.demarchi@intel.com>
Sat, 4 Mar 2023 06:30:04 +0000 (22:30 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:29:45 +0000 (18:29 -0500)
commit1415283befa0e47df1270d10356a074793664757
tree3f99775d103a70af328a7ea75a6417cf7618d857
parent8846ffb457587e5d393a83ce977c3db7c800fe58
drm/xe: Constify xe_dss_mask_group_ffs()

Due to how xe_dss_mask_t is implemented, the type is a pointer. Since
this is only used for looking up the bits, make it const so it can be
used together with a const gt passed around.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_gt_topology.c
drivers/gpu/drm/xe/xe_gt_topology.h