All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/amdgpu: Drop DRIVER_USE_AGP
@ 2020-02-22 17:54 Daniel Vetter
  2020-02-22 17:54   ` Daniel Vetter
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Daniel Vetter @ 2020-02-22 17:54 UTC (permalink / raw)
  To: DRI Development
  Cc: Daniel Vetter, Marek Olšák, Tianci.Yin, Hawking Zhang,
	Hans de Goede, Alex Deucher, Daniel Vetter, Evan Quan,
	Christian König, Xiaojie Yuan

This doesn't do anything except auto-init drm_agp support when you
call drm_get_pci_dev(). Which amdgpu stopped doing with

commit b58c11314a1706bf094c489ef5cb28f76478c704
Author: Alex Deucher <alexander.deucher@amd.com>
Date:   Fri Jun 2 17:16:31 2017 -0400

    drm/amdgpu: drop deprecated drm_get_pci_dev and drm_put_dev

No idea whether this was intentional or accidental breakage, but I
guess anyone who manages to boot a this modern gpu behind an agp
bridge deserves a price. A price I never expect anyone to ever collect
:-)

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: Hawking Zhang <Hawking.Zhang@amd.com>
Cc: Xiaojie Yuan <xiaojie.yuan@amd.com>
Cc: Evan Quan <evan.quan@amd.com>
Cc: "Tianci.Yin" <tianci.yin@amd.com>
Cc: "Marek Olšák" <marek.olsak@amd.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 4598836c5fa4..6cea92017109 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -1379,7 +1379,7 @@ int amdgpu_file_to_fpriv(struct file *filp, struct amdgpu_fpriv **fpriv)
 
 static struct drm_driver kms_driver = {
 	.driver_features =
-	    DRIVER_USE_AGP | DRIVER_ATOMIC |
+	    DRIVER_ATOMIC |
 	    DRIVER_GEM |
 	    DRIVER_RENDER | DRIVER_MODESET | DRIVER_SYNCOBJ |
 	    DRIVER_SYNCOBJ_TIMELINE,
-- 
2.24.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2020-03-06 15:08 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-22 17:54 [PATCH 1/3] drm/amdgpu: Drop DRIVER_USE_AGP Daniel Vetter
2020-02-22 17:54 ` [PATCH 2/3] drm/radeon: Inline drm_get_pci_dev Daniel Vetter
2020-02-22 17:54   ` Daniel Vetter
2020-02-24 16:31   ` Emil Velikov
2020-02-24 16:31     ` Emil Velikov
2020-02-24 20:46     ` Daniel Vetter
2020-02-24 20:46       ` Daniel Vetter
2020-02-24 20:49       ` Daniel Vetter
2020-02-24 20:49         ` Daniel Vetter
2020-02-25 15:26   ` Alex Deucher
2020-02-25 15:26     ` Alex Deucher
2020-02-22 17:54 ` [PATCH 3/3] drm/pci: Unexport drm_get_pci_dev Daniel Vetter
2020-02-24 16:33   ` Emil Velikov
2020-02-25  9:36   ` Thomas Zimmermann
2020-02-25 16:58   ` [PATCH] " Daniel Vetter
2020-03-06 15:08     ` Daniel Vetter
2020-02-24 15:30 ` [PATCH 1/3] drm/amdgpu: Drop DRIVER_USE_AGP Emil Velikov
2020-02-24 16:10 ` Alex Deucher
2020-02-24 20:43   ` Daniel Vetter
2020-02-25 15:16     ` Alex Deucher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.