linux-imx/drivers/gpu/drm/nouveau
Ben Skeggs def80cdb26 drm/nouveau/fb: restore init() for ramgp102
commit 6db9df4f70 upstream.

init() was removed from ramgp102 when reworking the memory detection, as
it was thought that the code was only necessary when the driver performs
mclk changes, which nouveau doesn't support on pascal.

However, it turns out that we still need to execute this on some GPUs to
restore settings after DEVINIT, so revert to the original behaviour.

v2: fix tags in commit message, cc stable

Closes: https://gitlab.freedesktop.org/drm/nouveau/-/issues/319
Fixes: 2c0c15a22f ("drm/nouveau/fb/gp102-ga100: switch to simpler vram size detection method")
Cc: stable@vger.kernel.org # 6.6+
Signed-off-by: Ben Skeggs <bskeggs@nvidia.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240904232418.8590-1-bskeggs@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-09-18 19:24:10 +02:00
..
dispnv04 drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes 2024-07-05 09:34:03 +02:00
dispnv50 drm/dp_mst: Fix fractional DSC bpp handling 2024-01-25 15:35:31 -08:00
include nouveau: lock the client object tree. 2024-04-03 15:28:40 +02:00
nvif drm/nouveau: nvkm/vmm: implement raw ops to manage uvmm 2023-08-04 20:34:39 +02:00
nvkm drm/nouveau/fb: restore init() for ramgp102 2024-09-18 19:24:10 +02:00
Kbuild drm/nouveau: implement new VM_BIND uAPI 2023-08-04 20:34:41 +02:00
Kconfig drm/nouveau: implement new VM_BIND uAPI 2023-08-04 20:34:41 +02:00
nouveau_abi16.c nouveau: report byte usage in VRAM usage. 2024-06-12 11:13:02 +02:00
nouveau_abi16.h drm/nouveau: implement new VM_BIND uAPI 2023-08-04 20:34:41 +02:00
nouveau_acpi.c
nouveau_acpi.h
nouveau_backlight.c
nouveau_bios.c drm: nv04: Fix out of bounds access 2024-04-27 17:11:34 +02:00
nouveau_bios.h
nouveau_bo.c drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations 2024-06-12 11:12:45 +02:00
nouveau_bo.h drm/nouveau: implement new VM_BIND uAPI 2023-08-04 20:34:41 +02:00
nouveau_bo0039.c
nouveau_bo74c1.c
nouveau_bo85b5.c
nouveau_bo90b5.c
nouveau_bo5039.c
nouveau_bo9039.c
nouveau_boa0b5.c
nouveau_chan.c drm/nouveau: exec: report max pushs through getparam 2023-10-04 00:10:18 +02:00
nouveau_chan.h drm/nouveau: chan: provide nouveau_channel_kill() 2023-08-04 20:34:38 +02:00
nouveau_connector.c drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes 2024-07-11 12:49:16 +02:00
nouveau_connector.h
nouveau_crtc.h
nouveau_debugfs.c drm/nouveau: debugfs: implement DRM GPU VA debugfs 2023-08-04 20:34:45 +02:00
nouveau_debugfs.h
nouveau_display.c drm/nouveau/disp: use drm_kms_helper_connector_hotplug_event() 2023-07-10 09:45:56 +02:00
nouveau_display.h
nouveau_dma.c drm/nouveau: uapi: don't pass NO_PREFETCH flag implicitly 2023-08-24 02:57:50 +02:00
nouveau_dma.h drm/nouveau: exec: report max pushs through getparam 2023-10-04 00:10:18 +02:00
nouveau_dmem.c nouveau/dmem: handle kcalloc() allocation failure 2024-04-03 15:28:56 +02:00
nouveau_dmem.h
nouveau_dp.c drm/nouveau/dp: Don't probe eDP ports twice harder 2024-05-17 12:02:19 +02:00
nouveau_drm.c drm/nouveau: don't fini scheduler before entity flush 2024-03-06 14:48:45 +00:00
nouveau_drv.h nouveau/u_memcpya: fix NULL vs error pointer bug 2023-09-20 00:20:08 +02:00
nouveau_encoder.h drm/nouveau/disp: drop unused argument in nv50_dp_mode_valid 2023-07-06 17:22:33 +02:00
nouveau_exec.c drm/nouveau: exec: report max pushs through getparam 2023-10-04 00:10:18 +02:00
nouveau_exec.h drm/nouveau: exec: report max pushs through getparam 2023-10-04 00:10:18 +02:00
nouveau_fence.c nouveau: offload fence uevents work to workqueue 2024-02-23 09:24:54 +01:00
nouveau_fence.h nouveau: offload fence uevents work to workqueue 2024-02-23 09:24:54 +01:00
nouveau_gem.c drm/nouveau: fix stale locked mutex in nouveau_gem_ioctl_pushbuf 2024-04-03 15:28:40 +02:00
nouveau_gem.h drm/nouveau: implement new VM_BIND uAPI 2023-08-04 20:34:41 +02:00
nouveau_hwmon.c
nouveau_hwmon.h
nouveau_ioc32.c
nouveau_ioctl.h
nouveau_led.c
nouveau_led.h
nouveau_mem.c
nouveau_mem.h drm/nouveau: implement new VM_BIND uAPI 2023-08-04 20:34:41 +02:00
nouveau_nvif.c
nouveau_platform.c
nouveau_platform.h
nouveau_prime.c drm/nouveau: prime: fix refcount underflow 2024-08-11 12:47:18 +02:00
nouveau_reg.h
nouveau_sched.c drm/nouveau: sched: fix leaking memory of timedout job 2023-09-20 00:15:50 +02:00
nouveau_sched.h drm/nouveau: implement new VM_BIND uAPI 2023-08-04 20:34:41 +02:00
nouveau_sgdma.c
nouveau_svm.c nouveau/svm: fix kvcalloc() argument order 2024-02-23 09:24:53 +01:00
nouveau_svm.h
nouveau_ttm.c
nouveau_ttm.h
nouveau_usif.c
nouveau_usif.h
nouveau_uvmm.c nouveau: set placement to original placement on uvmm validate. 2024-08-14 13:59:03 +02:00
nouveau_uvmm.h drm/nouveau: uvmm: remove dedicated VM pointer from VMAs 2023-08-08 04:47:19 +02:00
nouveau_vga.c
nouveau_vga.h
nouveau_vmm.c nouveau/vmm: don't set addr on the fail path to avoid warning 2024-01-31 16:18:56 -08:00
nouveau_vmm.h
nv04_fence.c drm/nouveau/fence:: fix warning directly dereferencing a rcu pointer 2024-01-25 15:35:31 -08:00
nv10_fence.c
nv10_fence.h
nv17_fence.c
nv50_display.h
nv50_fence.c
nv84_fence.c
nvc0_fence.c