mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user