diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2022-06-01 12:47:49 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2022-11-09 01:44:58 +0100 |
commit | 3b330f0875014b475ca3dc37e4397aee13f00986 (patch) | |
tree | f6af2ae0900c9ec4e04dbe6e3ce3ba339b4fee64 /drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h | |
parent | drm/nouveau/pmu/gm20b,gp10b: boot RTOS from PMU init (diff) | |
download | linux-3b330f0875014b475ca3dc37e4397aee13f00986.tar.xz linux-3b330f0875014b475ca3dc37e4397aee13f00986.zip |
drm/nouveau/sec2: unload RTOS before tearing down WPR
Reset regs won't be available on Ampere while SEC2 RTOS is running, and
we're apparently supposed to be doing this on earlier GPUs too.
v2:
- fixed some excessive indentation
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h b/drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h index 33564ac906a8..79f0da9e749f 100644 --- a/drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h +++ b/drivers/gpu/drm/nouveau/nvkm/falcon/qmgr.h @@ -73,7 +73,7 @@ struct nvkm_falcon_cmdq { struct nvkm_falcon_msgq { struct nvkm_falcon_qmgr *qmgr; const char *name; - struct mutex mutex; + spinlock_t lock; u32 head_reg; u32 tail_reg; |