]> 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)
commitff9ad6214456335a14974612cdb0e5aca529fe9f
tree2b49e20de0fe87a0f48fe86e78276581999fb584
parent3bb4e1130ab23999dd3a5ecfbc1c7f374210af41
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