diff options
| author | 2017-07-04 14:21:58 +0800 | |
|---|---|---|
| committer | 2017-09-26 18:08:17 -0400 | |
| commit | a67297d4c8d0bfac39a0fa166e98dcf54db1d7c2 (patch) | |
| tree | 945652cb09c571345bb17ddbc157a9474fe1ba5c /scripts/stackusage | |
| parent | drm/amd/display: Move kms_atomic support flag to dm_early_init. (diff) | |
drm/amd/display: Fix misuse of plane state destroy helper
drm_plane_state is subclassed by dm_plane_state, so atomic driver should
use __drm_atomic_helper_plane_destroy_state() to destroy a state.
drm_atomic_helper_plane_destroy_state() frees drm_plane_state which is
allocated inside dm_plane_state, this is problematic.
Fixes: 95ae03a ("drm/amd/display: Create dm_plane_state.")
Signed-off-by: Xiaojie Yuan <Xiaojie.Yuan@amd.com>
Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
