All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Deucher <alexdeucher@gmail.com>
To: Kurt Kartaltepe <kkartaltepe@gmail.com>
Cc: amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amdgpu: Remove pci address checks from acpi_vfct_bios
Date: Mon, 18 Mar 2024 11:42:04 -0400	[thread overview]
Message-ID: <CADnq5_N4eZ9LbDRLwbAv0NVnmp1GrMwp+cDs4tP0FHwf1r7YRg@mail.gmail.com> (raw)
In-Reply-To: <CACawnnzv5Ro32h3wJ_5EQ=9k=b8mGA4FEGjXbWTUP-jdmWERBg@mail.gmail.com>

On Mon, Mar 18, 2024 at 10:19 AM Kurt Kartaltepe <kkartaltepe@gmail.com> wrote:
>
> On Mon, Mar 18, 2024 at 6:37 AM Alex Deucher <alexdeucher@gmail.com> wrote:
> >
> > On Mon, Mar 18, 2024 at 4:47 AM Kurt Kartaltepe <kkartaltepe@gmail.com> wrote:
> > >
> > > These checks prevent using amdgpu with the pcie=assign-busses parameter
> > > which will re-address devices from their acpi values.
> > >
> > > Signed-off-by: Kurt Kartaltepe <kkartaltepe@gmail.com>
> >
> > This will likely break multi-GPU functionality.  The BDF values are
> > how the sbios/driver differentiates between the VFCT images.  If you
> > have multiple GPUs in the system, the driver won't be able to figure
> > out which one goes with which GPU an you may end up assigning the
> > wrong image to the wrong device.
> >
> > Alex
>
> The vendor and device portions must be correct in the existing
> kernels, so device type differentiation should already work without
> BDF values.
>
> So does that mean the concern is images are different for devices with
> the same vendor:device pairs? There are sites out there dedicated to
> dumping AMD's video roms which seem to suggest all discrete devices
> would be fine loading the same rom. Is there another platform you are
> thinking of where devices with the same vendor:device values would
> need different images?

That is incorrect.  The vbios images are board specific.  Using the
wrong image can cause a lot of problems.  The vbios exists to handle
board specific design variations (e.g., the number and type of display
connectors, the i2c/aux channel mappings, board specific clock and
voltage settings, etc.).  The PCI DID just indicates the chip used on
the board.  The actual board design varies with each AIB vendor (e.g.,
Sapphire and XFX both make 7900XTX boards, but they can have very
different configurations.

Alex

>
> (Sorry this is my first patch to the mailing list and I am replying
> with gmail, I hope it doesnt break things).
>
> --Kurt Kartaltepe

  reply	other threads:[~2024-03-18 15:42 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-18  6:52 [PATCH] drm/amdgpu: Remove pci address checks from acpi_vfct_bios Kurt Kartaltepe
2024-03-18 13:36 ` Alex Deucher
2024-03-18 14:19   ` Kurt Kartaltepe
2024-03-18 15:42     ` Alex Deucher [this message]
2024-03-18 16:06       ` Kurt Kartaltepe
2024-03-18 19:52         ` Alex Deucher
2024-03-18 19:57           ` Alex Deucher
2024-03-19  1:55             ` Kurt Kartaltepe
2024-03-19  9:54               ` Christian König
2024-03-19 15:04                 ` Kurt Kartaltepe
2024-03-20 13:31                   ` Christian König
2024-03-20 14:24                     ` Kurt Kartaltepe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADnq5_N4eZ9LbDRLwbAv0NVnmp1GrMwp+cDs4tP0FHwf1r7YRg@mail.gmail.com \
    --to=alexdeucher@gmail.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=kkartaltepe@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.