mirror_ubuntu-kernels/drivers/gpu/drm/nouveau/include
Ben Skeggs 752a281032 drm/nouveau/i2c: fix number of aux event slots
This was completely bogus before, using maximum DCB device index rather
than maximum AUX ID to size the buffer that stores event refcounts.

*Pretty* unlikely to have been an actual problem on most configurations,
that is, unless you've got one of the rare boards that have off-chip DP.

There, it'll likely crash.

Cc: stable@vger.kernel.org # 6.4+
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230719044051.6975-1-skeggsb@gmail.com
2023-07-19 11:08:47 +02:00
..
nvfw drm/nouveau/fb/ga102: Replace zero-length array of trailing structs with flex-array 2023-01-16 18:18:12 +01:00
nvhw drm/nouveau: Fix spelling typo in comments 2022-06-16 18:37:03 -04:00
nvif drm/nouveau/disp: More DP_RECEIVER_CAP_SIZE array fixes 2023-04-28 20:01:53 +02:00
nvkm drm/nouveau/i2c: fix number of aux event slots 2023-07-19 11:08:47 +02:00