[Nouveau] [PATCH] drm/nouveau: don't detect DSM for non-NVIDIA device

2021-08-08 Thread Ratchanan Srirattanamet
, and just return if it isn't. As a bonus, we'll also stop preventing _PR3 usage from the bridge for unrelated devices, which is always nice, I guess. https://gitlab.freedesktop.org/drm/nouveau/-/issues/79 Signed-off-by: Ratchanan Srirattanamet --- It's been discussed in the "previous&q

[Nouveau] [PATCH] drm/nouveau: don't touch has_pr3 for likely-non-NVIDIA device

2021-07-21 Thread Ratchanan Srirattanamet
: Use generic helper to check _PR3 presence"), care is taken to leave the _PR3 detection outside of the optimus_func condition. https://gitlab.freedesktop.org/drm/nouveau/-/issues/79 Fixes: ccfc2d5cdb024 ("drm/nouveau: Use generic helper to check _PR3 presence") Signed-off-by: Rat

Re: [Nouveau] [PATCH] drm/nouveau: don't touch has_pr3 for likely-non-NVIDIA device

2021-07-22 Thread Ratchanan Srirattanamet
chanan Srirattanamet On Thu, Jul 22, 2021 at 5:10 AM Ratchanan Srirattanamet wrote: The call site of nouveau_dsm_pci_probe() uses single set of output variables for all invocations. So, we must not write anything to them until we think this is an NVIDIA device of interest. Otherwise, if we are

[Nouveau] [PATCH v2] drm/nouveau: don't detect DSM for non-NVIDIA device

2023-05-23 Thread Ratchanan Srirattanamet
ce, I guess. Signed-off-by: Ratchanan Srirattanamet Closes: https://gitlab.freedesktop.org/drm/nouveau/-/issues/79 --- V1 -> V2: - Update the changelog to indicate that it now actually fixes the issue. - Add 'Closes:' tag. drivers/gpu/drm/nouveau/nouveau_acpi.c | 3 +++ 1 file changed, 3 in