drm/nouveau/kms/nv50: handle SetControlOutputResource from head
authorBen Skeggs <bskeggs@redhat.com>
Tue, 8 May 2018 10:39:47 +0000 (20:39 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 18 May 2018 05:01:28 +0000 (15:01 +1000)
commit2ca7fb5c1cc69ee7fc1a3c048c6f2b75cf842df9
tree6d76c94a6bac4ff57bb019a57e21aacbbadaf958
parent10ffe0fad53308ff54da0c6b1c5befca4e6915a1
drm/nouveau/kms/nv50: handle SetControlOutputResource from head

Removes duplicated code from OR-specific functions.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/disp.c
drivers/gpu/drm/nouveau/nouveau_encoder.h