]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/kms/nv50-: Initialize core channel in nouveau_display_create()
authorLyude Paul <lyude@redhat.com>
Mon, 11 May 2020 22:41:23 +0000 (18:41 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 22 May 2020 01:13:51 +0000 (11:13 +1000)
commitb25ad1bfbaab02e2e5fce3f433b21924021d8c4f
tree85838aacebffcc929b680c25bd12bb4ccc47ecd8
parent3b67e99386f900b29faefb9cc2ae866b065ed611
drm/nouveau/kms/nv50-: Initialize core channel in nouveau_display_create()

We'll need the core channel initialized and ready by the time that we
start creating modesetting objects, so that we can call the
NV507D_GET_CAPABILITIES method to make the hardware expose it's
modesetting capabilities for later probing.

So, when loading the driver prepare the core channel from within
nouveau_display_create(). Everywhere else, we initialize the core
channel during resume.

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