Skip to content

Kernel 6.12 (6.10, 6.11) with improved performance#33

Open
tiirwaa wants to merge 43 commits intorhgndf:kernel-6.10from
tiirwaa:kernel-6.12
Open

Kernel 6.12 (6.10, 6.11) with improved performance#33
tiirwaa wants to merge 43 commits intorhgndf:kernel-6.10from
tiirwaa:kernel-6.12

Conversation

@tiirwaa
Copy link
Copy Markdown

@tiirwaa tiirwaa commented Jul 22, 2025

Kernel 6.12 with improved performance, i think this can be compiled for 6.10

rhgndf and others added 23 commits October 13, 2024 22:05
- Added DRIVER_RENDER to driver_features in drm_driver struct.
- Fixed compilation errors and warnings.

Verified driver loads correctly and detects HDMI display resolution.
…aximum 1920x1080 resolution

- Allocate temp_buffer once per request with size 1920 * 4 bytes (max line width * bytes per pixel)
- Avoid repeated dynamic allocations in ms912x_fb_xrgb8888_to_yuv422()
- Improve performance and reduce memory fragmentation
…in ms912x_fb_send_rect

- Removed wait_for_completion_timeout to avoid stalling workqueue and improve frame throughput.
- Resulted in smoother video playback, especially noticeable with multi-monitor setups.
- Ensured driver stability while reducing latency in USB requests.
@tiirwaa tiirwaa changed the title Kernel 6.12 with improved performance Kernel 6.12 (6.10, 6.11) with improved performance Jul 22, 2025
Copy link
Copy Markdown
Author

@tiirwaa tiirwaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Format code with clang-format and clean comments as requested

tiirwaa and others added 3 commits July 27, 2025 12:22
Missing space in comment. Should be '/* Same data reused here */'.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Author

@tiirwaa tiirwaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make fixes from 6.15(main) pull request

tiirwaa and others added 8 commits July 27, 2025 14:30
Enable runtime configuration of ms912x_mode_list[0].mode via module parameter
Enable runtime override of ms912x_mode_list[0].mode via module parameter

This change removes the const qualifier from ms912x_mode_list and adds a write-only module parameter (mode_set) that allows setting the mode field of the first entry in the mode list at runtime.
The feature is intended for debugging and testing purposes, enabling developers to quickly force a specific HDMI output mode without recompiling the driver.

Notes:

Only ms912x_mode_list[0].mode is affected.

No validation or hardware reconfiguration is performed after changing the value; the updated mode will take effect only if/when the driver reads it again (e.g., during re-initialization).

Parameter is restricted to root or members of the root group (S_IWUSR | S_IWGRP).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants