[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#847570: linux-image-4.9.0-rc8-amd64-unsigned: AMDGPU not build with support for GCN1.0 and GCN1.1 VGAs



On Thu, Jan 05, 2017 at 03:19:23AM +0000, Ben Hutchings wrote:
> On Fri, 2016-12-09 at 16:06 +0100, Ferdinand Pöll wrote:
> > Package: linux-image-4.9.0-rc8-amd64-unsigned
> > Version: 4.9~rc8-1~exp1
> > Severity: wishlist
> > Tags: patch
> > 
> > Dear Maintainer,
> > 
> > I have an AMD Radeon R9 270X and I'd like to use the new amdgpu driver with it.
> > Since 4.9, linux includes experimental support for GCN 1.0 VGAs, but it's not
> > enabled in the debian builds as well as the support for GCN 1.1 cards (which
> > isn't new in the kernel anymore). In the kernel build config, you just need to
> > set CONFIG_DRM_AMDGPU_SI=Y (for GCN1.0-based cards) and CONFIG_DRM_AMDGPU_CIK=Y
> > (for GCN1.1-based cards). To use amdgpu if it is built into the kernel with the
> > old gpus users just need to blacklist radeon and upon the next reboot linux
> > will load amdgpu and users can install amdgpu-pro if they want to or just stick
> > with the newest free graphics driver.
> 
> I don't think this will work the way you expect.  kmod will load both
> modules unless one of them is blacklisted, and it's not documented
> which one will be tried first.  So we could end up loading amdgpu on
> systems that should still be using radeon by default.
> 
> We could perhaps patch amdgpu so that it isn't auto-loaded for the GCN
> 1.0 GPUs.  But I'm not yet convinced this is worth doing.
> 
> Ben.
> 

Hi Ben,

upstream has landed a solution for this issue in 4.13 which doesn't
require blacklisting radeon anymore [1].

Please consider setting CONFIG_DRM_AMDGPU_SI=Y and
CONFIG_DRM_AMDGPU_CIK=Y to allow the optional usage of amdgpu on
GCN1.0 and GCN1.1 based cards [2]. The default driver will be still
radeon but users who want to use amdgpu can choose amdgpu by providing
the following kernel parameters for GCN1.0 cards:

  radeon.si_support=0 amdgpu.si_support=1

and for GCN1.1 cards:

  radeon.cik_support=0 amdgpu.cik_support=1


Thanks,
Andreas

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?id=2b059658d6796a096ef06be9da994d6c44401d5b
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/amd/amdgpu/Kconfig?h=v4.13

Attachment: signature.asc
Description: PGP signature


Reply to: