mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware/AMD] remove AMDVLK option, as it is removed upstream
This commit is contained in:
parent
0b4fe53298
commit
0cedc97711
2 changed files with 2 additions and 6 deletions
|
|
@ -28,11 +28,7 @@ in {
|
|||
|
||||
hardware.amdgpu.opencl.enable = true;
|
||||
|
||||
hardware.amdgpu.amdvlk.enable = cfg.defaultVulkanImplementation == "amdvlk";
|
||||
hardware.amdgpu.amdvlk.support32Bit.enable = mkDefault config.hardware.amdgpu.amdvlk.enable;
|
||||
|
||||
environment.variables = {
|
||||
AMD_VULKAN_ICD = mkIf (cfg.defaultVulkanImplementation == "amdvlk") (strings.toUpper cfg.defaultVulkanImplementation);
|
||||
ROC_ENABLE_PRE_VEGA = "1"; # Enable OpenCL with Polaris GPUs
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ in {
|
|||
enable = mkEnableOption "AMD gpus";
|
||||
useProprietary = mkEnableOption "Use proprietary AMDGPU Pro";
|
||||
defaultVulkanImplementation = mkOption {
|
||||
description = "Wether to use RADV or AMDVLK by default";
|
||||
type = with types; enum [ "amdvlk" "radv" ];
|
||||
description = "Legacy, can only be set to radv";
|
||||
type = with types; enum [ "radv" ];
|
||||
default = "radv";
|
||||
};
|
||||
kernelDriver = mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue