Commit 4a4077b
drm/amd/display: Update Cursor request mode to the beginning prefetch always
[Why]
The double buffer cursor registers is updated by the cursor
vupdate event. There is a gap between vupdate and cursor data
fetch if cursor fetch data reletive to cursor position.
Cursor corruption will happen if we update the cursor surface
in this gap.
[How]
Modify the cursor request mode to the beginning prefetch always
and avoid wraparound calculation issues.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Zhikai Zhai <zhikai.zhai@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent 6a7fde4 commit 4a4077b
File tree
2 files changed
+10
-14
lines changed- drivers/gpu/drm/amd/display/dc
- hubp/dcn31
- hwss/dcn10
2 files changed
+10
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1993 | 1993 | | |
1994 | 1994 | | |
1995 | 1995 | | |
1996 | | - | |
1997 | | - | |
1998 | | - | |
1999 | | - | |
2000 | | - | |
2001 | 1996 | | |
2002 | 1997 | | |
2003 | 1998 | | |
2004 | | - | |
2005 | | - | |
2006 | | - | |
2007 | 1999 | | |
2008 | | - | |
2009 | | - | |
| 2000 | + | |
2010 | 2001 | | |
2011 | 2002 | | |
2012 | 2003 | | |
2013 | 2004 | | |
2014 | 2005 | | |
2015 | 2006 | | |
2016 | 2007 | | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
2017 | 2016 | | |
2018 | 2017 | | |
2019 | 2018 | | |
2020 | 2019 | | |
2021 | | - | |
2022 | | - | |
2023 | | - | |
2024 | 2020 | | |
2025 | 2021 | | |
2026 | 2022 | | |
| |||
0 commit comments