gpu: host1x: Use different lock classes for each client
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 29 Mar 2021 13:38:27 +0000 (16:38 +0300)
committerThierry Reding <treding@nvidia.com>
Tue, 30 Mar 2021 17:37:20 +0000 (19:37 +0200)
commita24f98176d1efae2c37d3438c57a624d530d9c33
tree47144591cb2d725eb77c59aaaa2103eb06b8892b
parentf8fb97c915954fc6de6513cdf277103b5c6df7b3
gpu: host1x: Use different lock classes for each client

To avoid false lockdep warnings, give each client lock a different
lock class, passed from the initialization site by macro.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/bus.c
include/linux/host1x.h