drm/xe: Initialize MOCS earlier
authorMatt Roper <matthew.d.roper@intel.com>
Fri, 2 Jun 2023 23:52:09 +0000 (16:52 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:34:28 +0000 (18:34 -0500)
commit17a6726c3d3040c0a47d7ec5bd8cc4056a379017
tree6a9c51ab9c68afce4bad073b77b5b39ef54a1d11
parent066d0952489b6ea269823dbbbb85d580ee6d23e0
drm/xe: Initialize MOCS earlier

xe_mocs_init_early doesn't touch the hardware, it just sets up internal
software state.  There's no need to perform this step in the "forcewake
held" region.  Moving the init earlier will also make the uc_index
values available earlier which will be important for an upcoming GuC
init patch.

Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://lore.kernel.org/r/20230602235210.1314028-2-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_gt.c