]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm: Put damage blob when destroy plane state
authorDeepak Rawat <drawat@vmware.com>
Fri, 21 Dec 2018 19:35:59 +0000 (11:35 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 24 Dec 2018 10:53:50 +0000 (11:53 +0100)
commitc75ff001f4fe21a8c9f15aad799a8949aea109f7
treec1fd1a17bc42cf75e0bbcb2f7d3ab98a47fb6742
parentcbdd2663f4c801ad93f7111f93d9846589a0d530
drm: Put damage blob when destroy plane state

Somehow the code to put the damage blob on destroy plane state and set
the blob to NULL when duplicate plane state was not merged. May be
because the files are refactored since the patch was written. With this
fix add those.

Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Fixes: d3b21767821e ("drm: Add a new plane property to send damage during plane update")
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181221193559.4346-1-drawat@vmware.com
drivers/gpu/drm/drm_atomic_state_helper.c