Merge branch '00.00-inst' of git://github.com/skeggsb/linux into drm-next
authorDave Airlie <airlied@redhat.com>
Fri, 12 Feb 2021 00:15:42 +0000 (10:15 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 12 Feb 2021 00:53:47 +0000 (10:53 +1000)
commitac35d19fe871c81b9d78053d675095b597270304
treed60b18427138ce7fce44f9a79f99b92e060dee1c
parent4c3a3292730c56591472717d8c5c0faf74f6c6bb
parentf6df392dddbb9e637b785e7e3d9337a74923dc10
Merge branch '00.00-inst' of git://github.com/skeggsb/linux into drm-next

Ben wrote:
The problem is that GA100 added enough new engine types and instances
that we would have begun to overflow various u64 bitfields used to
track the connections between various engines.

Rather than addressing subdevs by a unique index, we give
each subdev a type and instance id, and replace the use of bitfields
tied to subdev index with other methods.

Notable changes:
- replace subdev index with subdev type + instance id
- engines that turn out to be fused-off (can't detect until later in
init) no longer leave dangling pointers around
- new subdev/instance additions no longer need to be made in multiple places
- ampere engine topology is now being parsed

Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Ben Skeggs <skeggsb@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/CACAvsv4c_Y923ng0rT1y23wktHHyjEMsusb0=9Z7kQaVbxyPyQ@mail.gmail.com