Index | Thread | Search

From:
Rane Hebden <rane+openbsd@junkyard.systems>
Subject:
Re: Use amdgpu for SI and CIK chipsets
To:
tech@openbsd.org
Date:
Sun, 29 Dec 2024 10:15:38 +1100

Download raw body.

Thread
Rane Hebden <rane+openbsd@junkyard.systems> writes:

> I'll also submit a xenocara patch to update the documentation for
> amdgpu, detailing how to enable this support. The current manpage
> suggests the driver only supports cards newer than the SI family of
> chips, so I think an additional section to detail enabling this support
> for CIK/SI makes sense.

There is a small error in my previous mail, the correct kernel
configuration change is "disable radeondrm" instead of "disable radeon".

Here's the xenocara patch to update the manpage for amdgpu(4) to
mention the optional support for CIK/SI parts, and some details
on how to switch to amdgpu.

OK to both?

Index: driver/xf86-video-amdgpu/man/amdgpu.man
===================================================================
RCS file: /cvs/xenocara/driver/xf86-video-amdgpu/man/amdgpu.man,v
diff -u -p -p -u -r1.4 amdgpu.man
--- driver/xf86-video-amdgpu/man/amdgpu.man	1 Mar 2023 20:21:10 -0000	1.4
+++ driver/xf86-video-amdgpu/man/amdgpu.man	28 Dec 2024 23:12:51 -0000
@@ -30,6 +30,17 @@ RandR support up to version 1.4;
 The
 .B amdgpu
 driver supports SI and newer families' video cards.
+.PP
+Optional support for CIK and SI family video cards is enabled in
+.B amdgpu.
+The radeon(__drivermansuffix__)
+driver handles these cards by default. To use
+.B amdgpu
+instead, add
+.B disable radeondrm
+to kernel configuration.
+
+Refer to config(8) for details on modifying kernel configuration.
 .PD
 .SH CONFIGURATION DETAILS
 Please refer to __xconfigfile__(__filemansuffix__) for general configuration