lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <172e8971-f160-b04e-3250-b8743f31c820@infradead.org>
Date:   Tue, 11 Jan 2022 12:54:09 -0800
From:   Randy Dunlap <rdunlap@...radead.org>
To:     Paul Menzel <pmenzel@...gen.mpg.de>,
        Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
        Maxime Ripard <mripard@...nel.org>,
        Thomas Zimmermann <tzimmermann@...e.de>
Cc:     David Airlie <airlied@...ux.ie>, Daniel Vetter <daniel@...ll.ch>,
        dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: Unable to unselect VGA_ARB (VGA Arbitration)

Hi Paul,

On 1/11/22 12:28, Paul Menzel wrote:
> Dear Linux folks,
> 
> 
> I am using Linux 5.16, and I am unable to unset `VGA_ARB` in Kconfig (`make menuconfig`). I have an Asus F2A85-M PRO with an AMD A6-6400K APU (integrated Radeon graphics device), so no legacy stuff.
> 
> From `drivers/gpu/vga/Kconfig`:
> 
> ```
> config VGA_ARB
>         bool "VGA Arbitration" if EXPERT

You can modify VGA_ARB if you set ^^^^^^ "EXPERT".

>         default y
>         depends on (PCI && !S390)
>         help
>           […]
> 
> config VGA_ARB_MAX_GPUS
>         int "Maximum number of GPUs"
>         default 16
>         depends on VGA_ARB
>         help
>           […]
> 
> config VGA_SWITCHEROO
>         bool "Laptop Hybrid Graphics - GPU switching support"
>         depends on X86
>         depends on ACPI
>         depends on PCI
>         depends on (FRAMEBUFFER_CONSOLE=n || FB=y)
>         select VGA_ARB
>         help
>           […]
> ```
> 
> But in `make menuconfig` I am unable to unselect it.
> 
>     -*- VGA Arbitration
> 
> and the help says:
> 
>     Symbol: VGA_ARB [=y]
>     Type  : bool
>       Depends on: HAS_IOMEM [=y] && PCI [=y] && !S390
>       Visible if: HAS_IOMEM [=y] && PCI [=y] && !S390 && EXPERT [=n]
>       Location:
>         Main menu
>          -> Device Drivers
>            -> Graphics support
>     Selected by [n]:
>       - VGA_SWITCHEROO [=n] && HAS_IOMEM [=y] && X86 [=y] && ACPI [=y] && PCI [=y] && (!FRAMEBUFFER_CONSOLE [=y] || FB [=y]=y)
> 
> So, VGA_SWITCHEROO is not set, and, therefore, as `Selected by [n]:` suggests, I thought I’d be able to deselect it.
> 
> It’d be great if you could help me out.
> 
> 
> Kind regards,
> 
> Paul

-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ