summaryrefslogtreecommitdiff
path: root/nvkm/engine/disp/outp.c
diff options
context:
space:
mode:
Diffstat (limited to 'nvkm/engine/disp/outp.c')
-rw-r--r--nvkm/engine/disp/outp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nvkm/engine/disp/outp.c b/nvkm/engine/disp/outp.c
index ad9ba7cce..a5ff00a9c 100644
--- a/nvkm/engine/disp/outp.c
+++ b/nvkm/engine/disp/outp.c
@@ -78,6 +78,7 @@ nvkm_output_create_(struct nouveau_object *parent,
outp->info = *dcbE;
outp->index = index;
+ outp->or = ffs(outp->info.or) - 1;
DBG("type %02x loc %d or %d link %d con %x edid %x bus %d head %x\n",
dcbE->type, dcbE->location, dcbE->or, dcbE->type >= 2 ?