-
Notifications
You must be signed in to change notification settings - Fork 11
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
Feature/soft 4831 HDMI #299
Open
taraant
wants to merge
9
commits into
dev/v6.8
Choose a base branch
from
feature/SOFT-4831-HDMI-NEW
base: dev/v6.8
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
These structs are identical, use a single struct to represent private data for the DRM plane. This is a preparation for configuring layer routing from the CRTC (mixer) instead of current approach of setting up routing from individual layer's atomic_update callback. Signed-off-by: Ondrej Jirman <[email protected]> file: drm-sun4i-Unify-sun8i_-_layer-structs.patch
These will be needed later on when we move layer configuration to crtc update. Signed-off-by: Ondrej Jirman <[email protected]> file: drm-sun4i-Add-more-parameters-to-sunxi_engine-commit-callback.patch
Identical configurations of planes can lead to different (and wrong) layer -> pipe routing at HW level, depending on the order of atomic plane changes. For example: - Layer 1 is configured to zpos 0 and thus uses pipe 0. No other layer is enabled. This is a typical situation at boot. - When a compositor takes over and layer 3 is enabled, sun8i_ui_layer_enable() will get called with old_zpos=0 zpos=1, which will lead to incorrect disabling of pipe 0 and enabling of pipe 1. What happens is that sun8i_ui_layer_enable() function may disable blender pipes even if it is no longer assigned to its layer. To correct this, move the routing setup out of individual plane's atomic_update into crtc's atomic_update, where it can be calculated and updated all at once. Remove the atomic_disable callback because it is no longer needed. Signed-off-by: Ondrej Jirman <[email protected]> file: drm-sun4i-Fix-layer-zpos-change-atomic-modesetting.patch
Add support for gamma corretion to sun4i TCON driver. Its LUT has 256 entries and can be updated only when gamma correction is disabled. Signed-off-by: Vasily Khoruzhick <[email protected]> file: drm-sun4i-Implement-gamma-correction.patch
For perfect, flickerless and fast boot. Signed-off-by: Ondrej Jirman <[email protected]> file: drm-sun4i-Support-taking-over-display-pipeline-state-from-p-boo.patch
file: drivers-hack-for-h616-hdmi-video-output.patch
Signed-off-by: Jernej Skrabec <[email protected]> file: drv-soc-sunxi-sram-Add-SRAM-C1-H616-handling.patch
2f06c4c
to
86d739b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Добавил поддержку HDMI на основе патчей Armbian.
Патчи Armbian взяты за основу, так как в ядре mainline еще нет полной поддержки HDMI для нашего чипа (только DE33).
HDMI с данными патчами работает из коробки (консоль по HDMI запускается при загрузке), для поддержки Xorg нужно поставить соответствующие пакеты. После установки Xorg также работает с HDMI из коробки.