[PATCH] drm/amd/display: fix array-bounds errors in dc_stream_remove_writeback()

2022-12-26 Thread wenyang . linux
From: Wen Yang The following errors occurred when using gcc 7.5.0-3ubuntu1~18.04: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c: In function  ‘dc_stream_remove_writeback’: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c:543:55: warning:  array subscript is above array bounds

[BUG] AMD Radeon Pro 5600M with 8GB of HBM2 memory shows blank screen on Linux

2022-12-26 Thread Aditya Garg
The AMD Radeon Pro 5600M with 8GB of HBM2 memory GPU is found in MacBook Pro 16 inch, 2019 (MacBookPro16,4). The GPU fails to work on Linux, thus a blank black screen gets displayed on boot. If nomodeset is added as a kernel parameter, we are able to access Linux easily. The link below contain

Re: [PATCH] ALSA: hda/hdmi: Use only dynamic PCM device allocation

2022-12-26 Thread Michael Laß
CC'ing amd-gfx as this might be an issue in the amd driver. This change causes a regression in Linux 6.1 at least on some AMD APUs. There are reports from users with Ryzen 4750U, 5800U and 5850U chips where the HDMI sound devices don't show up anymore. I'm affected by this as well. Reverting this

Re: [RFC 2/7] drm/amdgpu: Add usermode queue for gfx work

2022-12-26 Thread Shashank Sharma
Hello Christian, On 25/12/2022 16:44, Christian König wrote: Am 23.12.22 um 20:36 schrieb Shashank Sharma: This patch adds skeleton code for usermode queue creation. It typically contains: - A new structure to keep all the user queue data in one place. - An IOCTL function to create/free a userm

Re: [RFC 2/7] drm/amdgpu: Add usermode queue for gfx work

2022-12-26 Thread Shashank Sharma
Hello Oded, Thank you for your comments, On 24/12/2022 19:19, Oded Gabbay wrote: On Fri, Dec 23, 2022 at 9:37 PM Shashank Sharma wrote: This patch adds skeleton code for usermode queue creation. It typically contains: - A new structure to keep all the user queue data in one place. - An IOCTL