]> git.itanic.dy.fi Git - linux-stable/commit
drm/i915/gsc: Only initialize GSC in tile 0
authorJosé Roberto de Souza <jose.souza@intel.com>
Mon, 21 Nov 2022 09:24:49 +0000 (11:24 +0200)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 22 Nov 2022 14:02:29 +0000 (06:02 -0800)
commitba51925da4ef763d6a3aa03b15241a85cdb76865
treef42155d8c40c40e9bc67a6db4a208868f3f99d17
parent529d95a6067b74da9d4d5d9ab3009b35c98c5fce
drm/i915/gsc: Only initialize GSC in tile 0

For multi-tile setups the GSC operational only on the tile 0.
Skip GSC auxiliary device creation for all other tiles
in GSC device init code.
Initialize basic GSC fields and use the same path
as HECI1 (HECI_PXP) device disable.

Cc: Tomas Winkler <tomas.winkler@intel.com>
Cc: Vitaly Lubart <vitaly.lubart@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221121092449.328674-1-alexander.usyskin@intel.com
drivers/gpu/drm/i915/gt/intel_gsc.c