drm/amdgpu: Modify indirect register access for gfx9 sriov
authorVictor Skvortsov <victor.skvortsov@amd.com>
Wed, 15 Dec 2021 18:49:36 +0000 (18:49 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Dec 2021 21:02:25 +0000 (16:02 -0500)
commitd764fb2af6cd92eee080978856f24b0cc6d555ad
treee48b3b227158211c0620a56b356a9642ecb8d347
parent4a0165f0603f333c6b36a420b4e348b67ddf6fc8
drm/amdgpu: Modify indirect register access for gfx9 sriov

Expand RLCG interface for new GC read & write commands.
New interface will only be used if the PF enables the flag in pf2vf msg.

v2: Added a description for the scratch registers

Signed-off-by: Victor Skvortsov <victor.skvortsov@amd.com>
Reviewed-by: David Nieto <david.nieto@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c