]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit74301eb160f369d0948e21041812f1ebb5ae4031
tree47144591cb2d725eb77c59aaaa2103eb06b8892b
parent6fca974a539b482881d83ed54eb96e32e026bc2a
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