Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: dce60_hw_sequencer: add DCE6 specific .cursor_lock

[Why]
kernel WARNING due to use of .cursor_lock = dce_pipe_control_lock inherited by dce110

[How]
DCE6 set .cursor_lock = dce60_pipe_control_lock

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Mauro Rossi and committed by
Alex Deucher
1bd26c7d 167d74fd

+1
+1
drivers/gpu/drm/amd/display/dc/dce60/dce60_hw_sequencer.c
··· 424 424 425 425 dc->hwseq->funcs.enable_display_power_gating = dce100_enable_display_power_gating; 426 426 dc->hwss.apply_ctx_for_surface = dce60_apply_ctx_for_surface; 427 + dc->hwss.cursor_lock = dce60_pipe_control_lock; 427 428 dc->hwss.pipe_control_lock = dce60_pipe_control_lock; 428 429 dc->hwss.prepare_bandwidth = dce100_prepare_bandwidth; 429 430 dc->hwss.optimize_bandwidth = dce100_optimize_bandwidth;