commit | 0092d3edcb23fcdb8cbe4159ba94a534290ff982 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Tue May 03 12:44:29 2016 +1000 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue May 03 11:53:44 2016 -0400 |
tree | e58d9c93ba27914d0d3c56074c6ce809c2b2db59 | |
parent | ea99697814d6e64927e228675a6eb7fa76014648 [diff] |
drm/amdgpu: set metadata pointer to NULL after freeing. Without this there was a double free of the metadata, which ended up freeing the fd table for me here, and taking out the machine more often than not. I reproduced with X.org + modesetting DDX + latest llvm/mesa, also required using dri3. Cc: stable@vger.kernel.org Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>