summaryrefslogtreecommitdiffstats
path: root/0001-kms-nv50-Initialize-core-channel-in-nouveau_display_.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-06-03 13:47:28 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-06-03 13:47:28 -0500
commit95dc4cf28c756d993d2080a495935006100a62a2 (patch)
treeaf11132f73d16ba11373f61a12eb6b1c9c8f4d69 /0001-kms-nv50-Initialize-core-channel-in-nouveau_display_.patch
parent49d6a971ac73ed6e56c93207c43272f54630d01b (diff)
downloadkernel-95dc4cf28c756d993d2080a495935006100a62a2.tar.gz
kernel-95dc4cf28c756d993d2080a495935006100a62a2.tar.xz
kernel-95dc4cf28c756d993d2080a495935006100a62a2.zip
kernel-5.8.0-0.rc0.20200603gitd6f9469a03d8.1
* Wed Jun 03 2020 CKI@GitLab <cki-project@redhat.com> [5.8.0-0.rc0.20200603gitd6f9469a03d8.1] - d6f9469a03d8 rebase - Fix configs for Fedora ("Justin M. Forbes") - Fix update_scripts.sh unselective pattern sub (David Howells) - Updated changelog for the release based on b0c3ba31be3e ("CKI@GitLab") - Drop the static path configuration for the Sphinx docs (Jeremy Cline) - Sign off generated configuration patches (Jeremy Cline) - Use __make macro instead of make (Tom Stellard) - redhat/configs: Enable CONFIG_SMC91X and disable CONFIG_SMC911X (Prarit Bhargava) [http://bugzilla.redhat.com/1722136] Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to '0001-kms-nv50-Initialize-core-channel-in-nouveau_display_.patch')
-rw-r--r--0001-kms-nv50-Initialize-core-channel-in-nouveau_display_.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/0001-kms-nv50-Initialize-core-channel-in-nouveau_display_.patch b/0001-kms-nv50-Initialize-core-channel-in-nouveau_display_.patch
deleted file mode 100644
index b590bb06c..000000000
--- a/0001-kms-nv50-Initialize-core-channel-in-nouveau_display_.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Lyude Paul <lyude@redhat.com>
-Date: Mon, 11 May 2020 18:41:23 -0400
-Subject: [PATCH] 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 | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.c b/drivers/gpu/drm/nouveau/dispnv50/disp.c
-index 2625ed84fc44..2afd56b9887d 100644
---- a/drivers/gpu/drm/nouveau/dispnv50/disp.c
-+++ b/drivers/gpu/drm/nouveau/dispnv50/disp.c
-@@ -2373,7 +2373,8 @@ nv50_display_init(struct drm_device *dev, bool resume, bool runtime)
- struct drm_encoder *encoder;
- struct drm_plane *plane;
-
-- core->func->init(core);
-+ if (resume || runtime)
-+ core->func->init(core);
-
- list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) {
- if (encoder->encoder_type != DRM_MODE_ENCODER_DPMST) {
-@@ -2460,6 +2461,8 @@ nv50_display_create(struct drm_device *dev)
- if (ret)
- goto out;
-
-+ disp->core->func->init(disp->core);
-+
- /* create crtc objects to represent the hw heads */
- if (disp->disp->object.oclass >= GV100_DISP)
- crtcs = nvif_rd32(&device->object, 0x610060) & 0xff;
---
-2.26.2
-