mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
drm/nouveau/secboot: remove unused hook
Remove a leftover that became obsolete with the falcon interface. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
17c602e376
commit
489a5fe868
@ -41,8 +41,6 @@ struct nvkm_acr_func {
|
||||
struct nvkm_gpuobj *, u64);
|
||||
int (*reset)(struct nvkm_acr *, struct nvkm_secboot *,
|
||||
enum nvkm_secboot_falcon);
|
||||
int (*start)(struct nvkm_acr *, struct nvkm_secboot *,
|
||||
enum nvkm_secboot_falcon);
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -823,32 +823,6 @@ acr_r352_reset(struct nvkm_acr *_acr, struct nvkm_secboot *sb,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
acr_r352_start(struct nvkm_acr *_acr, struct nvkm_secboot *sb,
|
||||
enum nvkm_secboot_falcon falcon)
|
||||
{
|
||||
struct acr_r352 *acr = acr_r352(_acr);
|
||||
const struct nvkm_subdev *subdev = &sb->subdev;
|
||||
int base;
|
||||
|
||||
switch (falcon) {
|
||||
case NVKM_SECBOOT_FALCON_FECS:
|
||||
base = 0x409000;
|
||||
break;
|
||||
case NVKM_SECBOOT_FALCON_GPCCS:
|
||||
base = 0x41a000;
|
||||
break;
|
||||
default:
|
||||
nvkm_error(subdev, "cannot start unhandled falcon!\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
nvkm_wr32(subdev->device, base + 0x130, 0x00000002);
|
||||
acr->falcon_state[falcon] = RUNNING;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
acr_r352_fini(struct nvkm_acr *_acr, struct nvkm_secboot *sb, bool suspend)
|
||||
{
|
||||
@ -906,7 +880,6 @@ acr_r352_base_func = {
|
||||
.fini = acr_r352_fini,
|
||||
.load = acr_r352_load,
|
||||
.reset = acr_r352_reset,
|
||||
.start = acr_r352_start,
|
||||
};
|
||||
|
||||
struct nvkm_acr *
|
||||
|
Loading…
Reference in New Issue
Block a user