drm/amd/display: Update Cursor request mode to the beginning prefetch always[Why]The double buffer cursor registers is updated by the cursorvupdate event. There is a gap between vupdate and curso
drm/amd/display: Update Cursor request mode to the beginning prefetch always[Why]The double buffer cursor registers is updated by the cursorvupdate event. There is a gap between vupdate and cursor datafetch if cursor fetch data reletive to cursor position.Cursor corruption will happen if we update the cursor surfacein this gap.[How]Modify the cursor request mode to the beginning prefetch alwaysand avoid wraparound calculation issues.Reviewed-by: Nicholas Kazlauskas <[email protected]>Signed-off-by: Zhikai Zhai <[email protected]>Signed-off-by: Zaeem Mohamed <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
show more ...
drm/amd/display: Add hubp cache reset when powergating[Why]When HUBP is power gated, the SW state can get out of sync with thehardware state causing cursor to not be programmed correctly.[How]
drm/amd/display: Add hubp cache reset when powergating[Why]When HUBP is power gated, the SW state can get out of sync with thehardware state causing cursor to not be programmed correctly.[How]Similar to DPP, add a HUBP reset function which is called whereverHUBP is initialized or powergated. This function will clear the cursorposition and attribute cache allowing for proper programming when theHUBP is brought back up.Cc: Mario Limonciello <[email protected]>Cc: Alex Deucher <[email protected]>Cc: [email protected]Reviewed-by: Sung Lee <[email protected]>Signed-off-by: Aric Cyr <[email protected]>Signed-off-by: Wayne Lin <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>
drm/amd/display: add clear_tiling hubp callbacksThis adds clear_tiling callbacks to the hubp structure thatwill be used for drm panic support to clear the tiling ona display. hubp3 support from
drm/amd/display: add clear_tiling hubp callbacksThis adds clear_tiling callbacks to the hubp structure thatwill be used for drm panic support to clear the tiling ona display. hubp3 support from Jocelyn's original patchand the rest from me.Reviewed-by: Harry Wentland <[email protected]>Signed-off-by: Alex Deucher <[email protected]>Cc: Lu Yao <[email protected]>Cc: Jocelyn Falempe <[email protected]>Cc: Harry Wentland <[email protected]>
drm/amd/display: Refactor HUBP into component folder.[why]cleaning up the code refactor requires hubp to be in its own component.[how]move all files under newly created hubp folder and fixing t
drm/amd/display: Refactor HUBP into component folder.[why]cleaning up the code refactor requires hubp to be in its own component.[how]move all files under newly created hubp folder and fixing the makefiles.Reviewed-by: Martin Leung <[email protected]>Acked-by: Tom Chung <[email protected]>Signed-off-by: Bhuvana Chandra Pinninti <[email protected]>Tested-by: Daniel Wheeler <[email protected]>Signed-off-by: Alex Deucher <[email protected]>