]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nouveau/kms/nv50-: Move 8BPC limit for MST into nv50_mstc_get_modes()
authorLyude Paul <lyude@redhat.com>
Mon, 11 May 2020 22:41:26 +0000 (18:41 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 22 May 2020 01:13:52 +0000 (11:13 +1000)
commitbbdf6a5891fc46b23a91c16941cc8b18ff37ac43
tree7b595f81ec3dbfdd691223f3a1c31f360344de3f
parentaf620cf083cd29dfafb8021d423d567ab57654b1
drm/nouveau/kms/nv50-: Move 8BPC limit for MST into nv50_mstc_get_modes()

This just limits the BPC for MST connectors to a maximum of 8 from
nv50_mstc_get_modes(), instead of doing so during
nv50_msto_atomic_check(). This doesn't introduce any functional changes
yet (other then userspace now lying about the max bpc, but we can't
support that yet anyway so meh). But, we'll need this in a moment so
that we can share mode validation between SST and MST which will fix
some real world issues.

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