-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update cs35l41_hda_property.c #1
Commits on Oct 23, 2023
-
ZEN: Add sysctl and CONFIG to disallow unprivileged CLONE_NEWUSER
Our default behavior continues to match the vanilla kernel.
Configuration menu - View commit details
-
Copy full SHA for 3d19f5a - Browse repository at this point
Copy the full SHA 3d19f5aView commit details -
drivers/firmware: skip simpledrm if nvidia-drm.modeset=1 is set
The Nvidia proprietary driver has some bugs that leads to issues if used with the simpledrm driver. The most noticeable is that does not register an emulated fbdev device. It just relies on a fbdev to be registered by another driver, that could be that could be attached to the framebuffer console. On UEFI machines, this is the efifb driver. This means that disabling the efifb driver will cause virtual consoles to not be present in the system when using the Nvidia driver. Legacy BIOS is not affected just because fbcon is not used there, but instead vgacon. Unless a VGA mode is specified using the vga= kernel command line option, in that case the vesafb driver is used instead and its fbdev attached to the fbcon. This is a problem because with CONFIG_SYSFB_SIMPLEFB=y, the sysfb platform code attempts to register a "simple-framebuffer" platform device (that is matched against simpledrm) and only registers either an "efi-framebuffer" or "vesa-framebuffer" if this fails to be registered due the video modes not being compatible. The Nvidia driver relying on another driver to register the fbdev is quite fragile, since it can't really assume those will stick around. For example there are patches posted to remove the EFI and VESA platform devices once a real DRM or fbdev driver probes. But in any case, moving to a simpledrm + emulated fbdev only breaks this assumption and causes users to not have VT if the Nvidia driver is used. So to prevent this, let's add a workaround and make the sysfb to skip the "simple-framebuffer" registration when nvidia-drm.modeset=1 option is set. This is quite horrible, but honestly I can't think of any other approach. For this to work, the CONFIG_FB_EFI and CONFIG_FB_VESA config options must be enabled besides CONFIG_DRM_SIMPLEDRM. Signed-off-by: Javier Martinez Canillas <[email protected]> Cherry-picked-for: https://bugs.archlinux.org/task/73720
Configuration menu - View commit details
-
Copy full SHA for 9d57f65 - Browse repository at this point
Copy the full SHA 9d57f65View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9620fd - Browse repository at this point
Copy the full SHA d9620fdView commit details -
drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
Add quirk orientation for AYA NEO 2. The name appears without spaces in dmi strings. That made it difficult to reuse the 2021 match and the display is greater in resolution. Tested by the JELOS team that has been patching their own kernel for a while now and confirmed by users in the AYA NEO and ChimeraOS discord servers. Signed-off-by: Joaquín Ignacio Aramendía <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1eb9656 - Browse repository at this point
Copy the full SHA 1eb9656View commit details -
drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition
Add quirk orientation for AYA NEO Founder. The name appears with spaces in dmi strings as other devices of the brand. The panel is the same as the NEXT and 2021 models. Those could not be reused as the former has VENDOR name as "AYANEO" without spaces and the latter has "AYADEVICE". Tested by the JELOS team that has been patching their own kernel for a while now and confirmed by users in the AYA NEO and ChimeraOS discord servers. Signed-off-by: Joaquín Ignacio Aramendía <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce95863 - Browse repository at this point
Copy the full SHA ce95863View commit details -
drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK
Add quirk orientation for AYA NEO GEEK. One of the more recent devices by the brand. The name appears without spaces in dmi strings. The board name is completely different to the previous models making it difficult to reuse their quirks despite being the same resolution and mounting. Tested by the JELOS team that has been patching their own kernel for a while now and confirmed by users in the AYA NEO and ChimeraOS discord servers. Signed-off-by: Joaquín Ignacio Aramendía <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3b6d29c - Browse repository at this point
Copy the full SHA 3b6d29cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cc14fb - Browse repository at this point
Copy the full SHA 2cc14fbView commit details -
ALSA: hda: cs35l41: Support ASUS 2023 laptops with missing DSD
Support adding the missing DSD properties required for ASUS ROG 2023 laptops and other ASUS laptops to properly utilise the cs35l41. The currently added laptops are: - ASUS GS650P, i2c - ASUS GA402X, i2c - ASUS GU604V, spi - ASUS GU603V, spi - ASUS GV601V, spi - ASUS GZ301V, spi - ASUS ROG ALLY, i2c - ASUS G614J, spi - ASUS G634J, spi - ASUS G614JI, spi - ASUS G713P, i2c The SPI connected amps may be required to use an external DSD patch to fix or add the "cs-gpios" property. Co-developed-by: Jonathan LoBue <[email protected]> Signed-off-by: Jonathan LoBue <[email protected]> Co-developed-by: Luke D. Jones <[email protected]> Signed-off-by: Luke D. Jones <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3065c26 - Browse repository at this point
Copy the full SHA 3065c26View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4b10be - Browse repository at this point
Copy the full SHA f4b10beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4358fb2 - Browse repository at this point
Copy the full SHA 4358fb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 027dcff - Browse repository at this point
Copy the full SHA 027dcffView commit details -
drm: Add GPU reset sysfs event
This patch adds a new sysfs event, which will indicate the userland about a GPU reset, and can also provide some information like: - process ID of the process involved with the GPU reset - process name of the involved process - the GPU status info (using flags) This patch also introduces the first flag of the flags bitmap, which can be appended as and when required. V2: Addressed review comments from Christian and Amar - move the reset information structure to DRM layer - drop _ctx from struct name - make pid 32 bit(than 64) - set flag when VRAM invalid (than valid) - add process name as well (Amar) Cc: Alexandar Deucher <[email protected]> Cc: Christian Koenig <[email protected]> Cc: Amaranath Somalapuram <[email protected]> Signed-off-by: Shashank Sharma <[email protected]> (cherry picked from commit 90230bd9d9c7d979038547460c9a2cbbeff8d6b9) [Forward port to 6.0] Signed-off-by: Cristian Ciocaltea <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac3f4d0 - Browse repository at this point
Copy the full SHA ac3f4d0View commit details -
drm/amdgpu: add work function for GPU reset event
This patch adds a work function, which sends a GPU reset uevent and some contextual infomration, like the PID and some status flags. This work should be scheduled during a GPU reset. The userspace can do some recovery and post-processing work based on this event and information. V2: Addressed review comments from Christian - Changed the name of the work to gpu_reset_event_work - Added a structure to accommodate some additional information (like a PID and some flags) - Do not add new structure in amdgpu.h Cc: Alexander Deucher <[email protected]> Cc: Christian Koenig <[email protected]> Cc: Amaranath Somalapuram <[email protected]> Signed-off-by: Shashank Sharma <[email protected]> (cherry picked from commit f63b09e78126f7da67b69409e2cce1d3ab2d7f46) [Forward port to 6.0] Signed-off-by: Cristian Ciocaltea <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb68909 - Browse repository at this point
Copy the full SHA cb68909View commit details -
drm/amdgpu: schedule GPU reset event work function
Schedule work function with valid PID, process name, and vram lost status during a GPU reset/ recovery. Signed-off-by: Somalapuram Amaranath <[email protected]> (cherry picked from commit 293c019a84c6402b08db9579819b555b01cd613b) [Forward ported to 6.0] Signed-off-by: Cristian Ciocaltea <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ecbc31 - Browse repository at this point
Copy the full SHA 7ecbc31View commit details -
USB: gadget: f_hid: Add Get-Feature report
While the HID gadget implementation has been sufficient for devices that only use INTERRUPT transfers, the USB HID standard includes provisions for Set- and Get-Feature report CONTROL transfers that go over endpoint 0. These were previously impossible with the existing implementation, and would either send an empty reply, or stall out. As the feature is a standard part of USB HID, it stands to reason that devices would use it, and that the HID gadget should support it. This patch adds support for (polled) device-to-host Get-Feature reports through a new ioctl interface to the hidg class dev nodes. Signed-off-by: Vicki Pfau <[email protected]> (cherry picked from commit 8437fa3861c7198a3e286f393c8637c4fc08d2bc) Signed-off-by: Cristian Ciocaltea <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e42b11d - Browse repository at this point
Copy the full SHA e42b11dView commit details -
USB: gadget: f_hid: Add Set-Feature report
While the HID gadget implementation has been sufficient for devices that only use INTERRUPT transfers, the USB HID standard includes provisions for Set- and Get-Feature report CONTROL transfers that go over endpoint 0. These were previously impossible with the existing implementation, and would either send an empty reply, or stall out. As the feature is a standard part of USB HID, it stands to reason that devices would use it, and that the HID gadget should support it. This patch adds support for host-to-device Set-Feature reports through a new ioctl interface to the hidg class dev nodes. Signed-off-by: Vicki Pfau <[email protected]> (cherry picked from commit 3d82be0ec3aa3b947d9c927d7b06c433de15be8b) Signed-off-by: Cristian Ciocaltea <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0521d98 - Browse repository at this point
Copy the full SHA 0521d98View commit details -
HID: hid-steam: Update list of identifiers from SDL
SDL includes a list of settings (registers), reports (cmds), and various other identifiers that were provided by Valve. This commit imports a significant chunk of that list as well as updating the guessed names and replacing a handful of magic constants. It also replaces bitmask definitions that used hex with the BIT macro. Signed-off-by: Vicki Pfau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb3cadc - Browse repository at this point
Copy the full SHA eb3cadcView commit details -
HID: hid-steam: Add gamepad-only mode switched to by holding options
Signed-off-by: Vicki Pfau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9eae2c2 - Browse repository at this point
Copy the full SHA 9eae2c2View commit details -
HID: hid-steam: Clean up locking
This cleans up the locking logic so that the spinlock is consistently used for access to a small handful of struct variables, and the mutex is exclusively and consistently used for ensuring that mutliple threads aren't trying to send/receive reports at the same time. Previously, only some report transactions were guarded by this mutex, potentially breaking atomicity. The mutex has been renamed to reflect this usage. Signed-off-by: Vicki Pfau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7da7725 - Browse repository at this point
Copy the full SHA 7da7725View commit details -
HID: hid-steam: Make client_opened a counter
The client_opened variable was used to track if the hidraw was opened by any clients to silence keyboard/mouse events while opened. However, there was no counting of how many clients were opened, so opening two at the same time and then closing one would fool the driver into thinking it had no remaining opened clients. Signed-off-by: Vicki Pfau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3bc24b7 - Browse repository at this point
Copy the full SHA 3bc24b7View commit details -
HID: hid-steam: Better handling of serial number length
The second byte of the GET_STRING_ATTRIB report is a length, so we should set the size of the buffer to be the size we're actually requesting, and only reject the reply if the length out is nonsensical. Signed-off-by: Vicki Pfau <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 31c08d2 - Browse repository at this point
Copy the full SHA 31c08d2View commit details -
drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero
Add quirk orientation for the Ayn Loki Zero. This also has been tested/used by the JELOS team. Signed-off-by: Bouke Sybren Haarsma <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0d22816 - Browse repository at this point
Copy the full SHA 0d22816View commit details -
drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
Add quirk orientation for Ayn Loki Max model. This has been tested by JELOS team that uses their own patched kernel for a while now and confirmed by users in the ChimeraOS discord servers. Signed-off-by: Bouke Sybren Haarsma <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c537101 - Browse repository at this point
Copy the full SHA c537101View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09cbb3d - Browse repository at this point
Copy the full SHA 09cbb3dView commit details
Commits on Oct 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 53695d1 - Browse repository at this point
Copy the full SHA 53695d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c26ab45 - Browse repository at this point
Copy the full SHA c26ab45View commit details
Commits on Oct 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7384adf - Browse repository at this point
Copy the full SHA 7384adfView commit details