Bug 100541
Summary: | Since 4.1, the mouse cursor is corrupted after suspend/resume | ||
---|---|---|---|
Product: | Drivers | Reporter: | Christian Casteyde (casteyde.christian) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | alexdeucher |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.1 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | Xorg.0.log after a suspend/resume |
Description
Christian Casteyde
2015-06-26 20:31:31 UTC
Did you also update any user mode components (ddx, mesa, etc.)? If it's specifically a kernel issue (e.g., same userspace with an older kernel works), can you bisect? It was only a kernel update. I bisected it: b9729b17a414f99c61f4db9ac9f9ed987fa0cbfe is the first bad commit commit b9729b17a414f99c61f4db9ac9f9ed987fa0cbfe Author: Maarten Lankhorst <maarten.lankhorst@canonical.com> Date: Tue Jan 13 09:40:13 2015 +0100 drm/radeon: dont switch vt on suspend Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> :040000 040000 bb58e32095a1ba5289a312ba268b57240e650202 25504b41de1c9d707ce3c1288c589fd3bd2e4db0 M drivers git bisect start # good: [39a8804455fb23f09157341d3ba7db6d7ae6ee76] Linux 4.0 git bisect good 39a8804455fb23f09157341d3ba7db6d7ae6ee76 # bad: [b953c0d234bc72e8489d3bf51a276c5c4ec85345] Linux 4.1 git bisect bad b953c0d234bc72e8489d3bf51a276c5c4ec85345 # good: [d0a3997c0c3f9351e24029349dee65dd1d9e8d84] Merge tag 'sound-4.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound git bisect good d0a3997c0c3f9351e24029349dee65dd1d9e8d84 # bad: [cf82f52d3619d2e15c83ec9a03c6ce8cdf6c6b58] watchdog: stmp3xxx_rtc_wdt: fix broken email address git bisect bad cf82f52d3619d2e15c83ec9a03c6ce8cdf6c6b58 # good: [79319a052cb0ae862954fe9f6e606417f1698ddb] Merge tag 'iommu-updates-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu git bisect good 79319a052cb0ae862954fe9f6e606417f1698ddb # bad: [8f443e2372ba23d51ee365974f54507acd6f69d1] Revert "ocfs2: incorrect check for debugfs returns" git bisect bad 8f443e2372ba23d51ee365974f54507acd6f69d1 # good: [3165c074175cddab1dcfd553042ea4f363bc76e7] drm/i915: Use atomic state in intel_ddi_crtc_get_new_encoder() git bisect good 3165c074175cddab1dcfd553042ea4f363bc76e7 # bad: [a08aad54be7fca595af2cc7f482961e1af99c4a8] Merge tag 'drm/panel/for-4.1-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next git bisect bad a08aad54be7fca595af2cc7f482961e1af99c4a8 # bad: [9e87e48f8e5de2146842fd0ff436e0256b52c4a9] Merge tag 'drm-intel-next-2015-03-27-merge' of git://anongit.freedesktop.org/drm-intel into drm-next git bisect bad 9e87e48f8e5de2146842fd0ff436e0256b52c4a9 # bad: [87f5942d1f7bc320a0ec70ac4a8a3396024c7091] drm/dp_mst: add a function to retrieve vcpi slots git bisect bad 87f5942d1f7bc320a0ec70ac4a8a3396024c7091 # bad: [b9729b17a414f99c61f4db9ac9f9ed987fa0cbfe] drm/radeon: dont switch vt on suspend git bisect bad b9729b17a414f99c61f4db9ac9f9ed987fa0cbfe # good: [f98bd3eff592fa708bb260cf3c6403e443cd40b7] drm: Fix some typo mistake of the annotations git bisect good f98bd3eff592fa708bb260cf3c6403e443cd40b7 # good: [1067219b27e29e925e7bdbb85b72c4c2bec0267e] drm/rockchip: vop: power off until vop standby take effect git bisect good 1067219b27e29e925e7bdbb85b72c4c2bec0267e # good: [6b94aea01d4f96235e947892f6c39f837045e741] Merge branch 'drm_next' of https://github.com/markyzq/kernel-drm-rockchip into drm-next git bisect good 6b94aea01d4f96235e947892f6c39f837045e741 # good: [643b1f5629a30f979e2da678ecf0b1855e074a8c] drm/radeon: implement output csc property for DCE5+ git bisect good 643b1f5629a30f979e2da678ecf0b1855e074a8c # good: [a1dcc2778b682361351a369652b66dd2d66cf1d9] drm/radeon: setup quantization_range in AVI infoframe git bisect good a1dcc2778b682361351a369652b66dd2d66cf1d9 # first bad commit: [b9729b17a414f99c61f4db9ac9f9ed987fa0cbfe] drm/radeon: dont switch vt on suspend Please attach /var/log/Xorg.0.log captured after suspend/resume, but before switching to any console VTs. Appended the log after: a. rm Xorg.0.log + a fresh start of X b. Suspend c. Resume and without any VT switch. The log doesn't show any information about the suspend/resume process (it is exactly the same as before the suspend) btw. Created attachment 181611 [details]
Xorg.0.log after a suspend/resume
The mouse cursor corruption should be fixed with the drm-fixes-4.2-wip branch of http://cgit.freedesktop.org/~agd5f/linux/ . Effectively, these patches fix the problem on 4.1: drm/radeon: unpin cursor BOs on suspend and pin them again on resume (v2) drm/radeon: Clean up reference counting and pinning of the cursor BOs Thanks |