]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit084b302bb665401578bf6108610ba2c4744c86b9
treed60b18427138ce7fce44f9a79f99b92e060dee1c
parent20e4e271a4328496f532c123c8b27c35707cbe81
parent48d2453b35a56caf0e73f380868b95b6217da497
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