drm/nouveau/bios/init: handle INIT_RESET_BEGUN devinit opcode
authorRhys Kidd <rhyskidd@gmail.com>
Sun, 2 Jun 2019 14:13:14 +0000 (00:13 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 23 Aug 2019 02:55:32 +0000 (12:55 +1000)
commit66cbcc72ae34711854ae7af8056bfb7169f874fd
tree235bd45d50173f433ac65c934d9c9d744e52be35
parent607db661b7ac338943bb5efd94a7eac0051af440
drm/nouveau/bios/init: handle INIT_RESET_BEGUN devinit opcode

Signal that the reset sequence has begun.

This opcode signals that the software reset sequence has begun.
Ordinarily, no actual operations are performed by the opcode.
However it allows for possible software work arounds by devinit
engines in software agents other than the VBIOS, such as the resman,
FCODE, and EFI driver.

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c