drm/rockchip: vop: Remove redundant writeback cleanup

The drm_writeback_queue_job() function takes ownership of the passed
job and requires the caller to manually set the connector state
writeback_job pointer to NULL.

Therefore, there is no need to clear the writeback_job again.

Related commit:
97eb9eaeb9 ("drm: writeback: Cleanup job ownership handling when queuing job")

Change-Id: Ie56de7e3dc617daa629c4d52514ec511ecdfee53
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
This commit is contained in:
Chaoyi Chen
2025-05-16 14:25:29 +08:00
committed by Tao Huang
parent 51f120552c
commit 1791848c0d

View File

@@ -1877,7 +1877,6 @@ static void vop_wb_commit(struct drm_crtc *crtc)
fb->pitches[0], &wb_state->yrgb_addr);
drm_writeback_queue_job(wb_conn, conn_state);
conn_state->writeback_job = NULL;
spin_lock_irqsave(&wb->job_lock, flags);
wb->jobs[wb->job_index].pending = true;