]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/kms/gv100-: move window ownership setup into modesetting path
authorBen Skeggs <bskeggs@redhat.com>
Mon, 3 Feb 2020 08:36:30 +0000 (03:36 -0500)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 3 Feb 2020 11:36:54 +0000 (21:36 +1000)
commit267e7ed39cd0b16d562fec38f9355fff955edb44
tree2b49e20de0fe87a0f48fe86e78276581999fb584
parent2c38dde892700d9b72c5431aafa89e2ec9da1f8f
drm/nouveau/kms/gv100-: move window ownership setup into modesetting path

For various complicated reasons, we need to avoid sending a core update
method during display init.  Something, which we've been required to do
on GV100 and up because we've been assigning windows to heads there and
the HW is rather picky about when that's allowed.

This moves window assignment into the modesetting path at a point where
it's much safer to send our first update methods to NVDisplay.

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