dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] riscv: Add kernel-mode FPU support for amdgpu
@ 2023-11-22  3:05 Samuel Holland
  2023-11-22  3:05 ` [PATCH 1/3] riscv: Add support for kernel-mode FPU Samuel Holland
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Samuel Holland @ 2023-11-22  3:05 UTC (permalink / raw)
  To: Palmer Dabbelt, Harry Wentland, Leo Li, Rodrigo Siqueira, linux-riscv
  Cc: Pan Xinhui, linux-kernel, dri-devel, Samuel Holland, amd-gfx,
	Alex Deucher, Christian König

This series allows using newer AMD GPUs (e.g. Navi) on RISC-V boards
such as SiFive's HiFive Unmatched. Those GPUs need CONFIG_DRM_AMD_DC_FP
to initialize, which requires kernel-mode FPU support.

I'm sending these patches as one series so there is a user along with
the infrastructure being added. I assume patch 3 would be merged
separately, after patches 1-2 are merged.


Samuel Holland (3):
  riscv: Add support for kernel-mode FPU
  riscv: Factor out riscv-march-y to a separate Makefile
  drm/amd/display: Support DRM_AMD_DC_FP on RISC-V

 arch/riscv/Makefile                            | 12 +-----------
 arch/riscv/Makefile.isa                        | 15 +++++++++++++++
 arch/riscv/include/asm/switch_to.h             | 14 ++++++++++++++
 arch/riscv/kernel/process.c                    |  3 +++
 drivers/gpu/drm/amd/display/Kconfig            |  5 ++++-
 drivers/gpu/drm/amd/display/amdgpu_dm/dc_fpu.c |  6 ++++--
 drivers/gpu/drm/amd/display/dc/dml/Makefile    |  6 ++++++
 drivers/gpu/drm/amd/display/dc/dml2/Makefile   |  6 ++++++
 8 files changed, 53 insertions(+), 14 deletions(-)
 create mode 100644 arch/riscv/Makefile.isa

-- 
2.42.0


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

end of thread, other threads:[~2023-12-12 17:43 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-22  3:05 [PATCH 0/3] riscv: Add kernel-mode FPU support for amdgpu Samuel Holland
2023-11-22  3:05 ` [PATCH 1/3] riscv: Add support for kernel-mode FPU Samuel Holland
2023-11-22 20:23   ` kernel test robot
2023-11-23  1:54   ` kernel test robot
     [not found]   ` <ZV283NfE/K5zLXDD@infradead.org>
2023-12-08  4:17     ` Samuel Holland
2023-11-22  3:05 ` [PATCH 2/3] riscv: Factor out riscv-march-y to a separate Makefile Samuel Holland
2023-11-22  3:05 ` [PATCH 3/3] drm/amd/display: Support DRM_AMD_DC_FP on RISC-V Samuel Holland
2023-11-23 14:23   ` Conor Dooley
2023-11-30  0:42     ` Nathan Chancellor
2023-11-30  8:27       ` Conor Dooley
2023-12-08  5:04       ` Samuel Holland
2023-12-09 20:38         ` Arnd Bergmann
2023-12-09 21:29           ` Samuel Holland
2023-12-09 21:42             ` Arnd Bergmann
2023-12-11 15:17             ` Alex Deucher
2023-12-11 15:40               ` Samuel Holland
     [not found]   ` <ZV2+f/yu3C6xTVqn@infradead.org>
2023-12-08  4:49     ` Samuel Holland
     [not found]       ` <ZXgH6un2uLdjQ48X@infradead.org>
2023-12-12 17:42         ` Josh Poimboeuf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).