drm/nouveau/disp: split part of OR allocation logic into a function
authorBen Skeggs <bskeggs@redhat.com>
Wed, 3 Jun 2020 01:40:47 +0000 (11:40 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 4 Jun 2020 04:23:21 +0000 (14:23 +1000)
commitf24b6ae19fa257ea9b10a9389d0b7046b3efd97c
tree73982561ac8f083d0f2029fcf7fe242438c9a8f9
parent6f8dbcf1c9cec3ec5efcf4c17b29a5b1732d1491
drm/nouveau/disp: split part of OR allocation logic into a function

No logical changes here, this is just moving the code to make the
changes in the next commit more obvious.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c