Commit 7cee0433 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/core: sort engine indices alphabetically

Unlike subdevs, these aren't initialised in a defined order.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 1f5ff7f5
...@@ -27,27 +27,30 @@ enum nvkm_devidx { ...@@ -27,27 +27,30 @@ enum nvkm_devidx {
NVKM_SUBDEV_CLK, NVKM_SUBDEV_CLK,
NVKM_SUBDEV_SECBOOT, NVKM_SUBDEV_SECBOOT,
NVKM_ENGINE_DMAOBJ,
NVKM_ENGINE_IFB,
NVKM_ENGINE_FIFO,
NVKM_ENGINE_SW,
NVKM_ENGINE_GR,
NVKM_ENGINE_MPEG,
NVKM_ENGINE_ME,
NVKM_ENGINE_VP,
NVKM_ENGINE_CIPHER,
NVKM_ENGINE_BSP, NVKM_ENGINE_BSP,
NVKM_ENGINE_MSPPP,
NVKM_ENGINE_CE0, NVKM_ENGINE_CE0,
NVKM_ENGINE_CE1, NVKM_ENGINE_CE1,
NVKM_ENGINE_CE2, NVKM_ENGINE_CE2,
NVKM_ENGINE_VIC, NVKM_ENGINE_CE_LAST = NVKM_ENGINE_CE2,
NVKM_ENGINE_MSENC,
NVKM_ENGINE_CIPHER,
NVKM_ENGINE_DISP, NVKM_ENGINE_DISP,
NVKM_ENGINE_PM, NVKM_ENGINE_DMAOBJ,
NVKM_ENGINE_FIFO,
NVKM_ENGINE_GR,
NVKM_ENGINE_IFB,
NVKM_ENGINE_ME,
NVKM_ENGINE_MPEG,
NVKM_ENGINE_MSENC,
NVKM_ENGINE_MSPDEC,
NVKM_ENGINE_MSPPP,
NVKM_ENGINE_MSVLD, NVKM_ENGINE_MSVLD,
NVKM_ENGINE_PM,
NVKM_ENGINE_SEC, NVKM_ENGINE_SEC,
NVKM_ENGINE_MSPDEC, NVKM_ENGINE_SW,
NVKM_ENGINE_VIC,
NVKM_ENGINE_VP,
NVKM_SUBDEV_NR NVKM_SUBDEV_NR
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment