]> git.baikalelectronics.ru Git - kernel.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)
commit12de637b8fd94926918f26a2143b73eed62e8e25
tree7b595f81ec3dbfdd691223f3a1c31f360344de3f
parent4271eb9ab1893ac337076bf0a60430e32e257716
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