Linux 7.0.2 fix 6490#553
Open
CodeChenL wants to merge 4 commits into
Open
Conversation
Member
Author
|
@BigfootACA @strongtz 有空也可以review一下,谢谢 |
strongtz
reviewed
May 12, 2026
| topology.num_lm = 2; | ||
| else if (dpu_kms->catalog->caps->has_3d_merge) | ||
| topology.num_lm = (mode->hdisplay > MAX_HDISPLAY_SPLIT) ? 2 : 1; | ||
| topology.num_lm = (mode->hdisplay > max_hdisplay_split) ? 2 : 1; |
There was a problem hiding this comment.
这儿会让 sc8280xp 对于 4k@120 的mode使用单个 lm 而不是之前的两个,导致输出蓝屏,具体原因暂不确定
Member
Author
There was a problem hiding this comment.
我也发现这个改动在我的采集卡上好像不能设置大于1080P,显示器可以
Member
Author
There was a problem hiding this comment.
但是之前不加这三个补丁会导致某些分辨率显示不全,我在复测看看,经过那么多更改了,说不定被其他内容修好了
Member
Author
There was a problem hiding this comment.
取消这三个补丁会报错
[ 37.371959] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]LM_2, invalid DSPP_-1
[ 37.380610] [drm:_dpu_rm_check_lm_and_get_connected_blks] [dpu error]LM_3, invalid DSPP_-1
[ 37.389462] [drm:_dpu_rm_make_reservation] [dpu error]unable to find appropriate mixers
[ 37.397990] [drm:dpu_rm_reserve] [dpu error]failed to reserve hw resources: -119
而且只显示左上角
还在调试怎么解决比较好,而且不影响q8b
Member
Author
There was a problem hiding this comment.
之前revert掉drm/msm的13个改动倒是没啥问题
Member
Author
There was a problem hiding this comment.
对了蓝屏现象你有尝试过clk_ignore_unused吗
不加这个参数在6490上+drm/msm的13个改动也会蓝屏
BigfootACA
approved these changes
May 12, 2026
strongtz
reviewed
May 12, 2026
| int crash_reason_smem; | ||
| unsigned int smem_host_id; | ||
| bool decrypt_shutdown; | ||
| bool broken_reset; |
There was a problem hiding this comment.
这种改法可能不太能upstream,最好是不引入qcom,broken-reset,直接能够判断dsp是否已经启动了,至于dsp如果真的crash了那让它restart remoteproc的时候直接fail就行
不过如果功能正常的话先保持这样合进去也行,我后面再想想办法
Because not all base boards equipped with radxa-cm-q64 will use the DP interface. So the DisplayPort audio is turned off by default following the display settings. Avoid sound card probe failure when using WCD Codec alone. Signed-off-by: Jiali Chen <chenjiali@radxa.com>
Only propagate HPD notifications when the connector state actually changes so transient plug interrupts during normal operation do not trigger unnecessary userspace reprobes and mode fallback. Signed-off-by: Jiali Chen <chenjiali@radxa.com>
Skip per-CRTC DSPP reservations when color management would require more DSPP blocks than the platform actually exposes so high-resolution modesets continue instead of failing allocation on DSPP-limited hardware. Signed-off-by: Jiali Chen <chenjiali@radxa.com>
Some Qualcomm platforms may have PAS firmware authenticated and started by boot firmware before Linux probes the remoteproc device. In that state Linux cannot safely reload the image, but it still needs to attach to the already running subsystem. Detect an externally started remote from the SMP2P boot-state signals and mark it detached so the remoteproc core can attach instead of attempting a fresh firmware load. When the remote is externally managed, reject firmware loading and avoid issuing PAS shutdown for the main and DTB images. This allows systems such as SC7280 with UEFI-preloaded firmware to keep the subsystem available without transferring firmware lifecycle ownership to Linux. Signed-off-by: Jiali Chen <chenjiali@radxa.com>
2179ecb to
877f6ce
Compare
This file contains hidden or 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
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.
1:DP显示默认关闭DP音频也要默认关闭
2-3:修复分辨率切换
4:逻辑来自 linux-6.18.2 进行破坏性更小的重构