Commit ecedd99
drm/amd/display: Skip on writeback when it's not applicable
[WHY]
dynamic memory safety error detector (KASAN) catches and generates error
messages "BUG: KASAN: slab-out-of-bounds" as writeback connector does not
support certain features which are not initialized.
[HOW]
Skip them when connector type is DRM_MODE_CONNECTOR_WRITEBACK.
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3199
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent f886b49 commit ecedd99
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3047 | 3047 | | |
3048 | 3048 | | |
3049 | 3049 | | |
| 3050 | + | |
| 3051 | + | |
| 3052 | + | |
| 3053 | + | |
3050 | 3054 | | |
3051 | 3055 | | |
3052 | 3056 | | |
| |||
5926 | 5930 | | |
5927 | 5931 | | |
5928 | 5932 | | |
| 5933 | + | |
| 5934 | + | |
| 5935 | + | |
5929 | 5936 | | |
5930 | 5937 | | |
5931 | 5938 | | |
| |||
8767 | 8774 | | |
8768 | 8775 | | |
8769 | 8776 | | |
| 8777 | + | |
8770 | 8778 | | |
8771 | 8779 | | |
8772 | 8780 | | |
8773 | | - | |
8774 | 8781 | | |
8775 | 8782 | | |
8776 | 8783 | | |
| |||
0 commit comments