aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2021-07-01 10:03:26 +0100
committerMatthew Auld <matthew.auld@intel.com>2021-07-02 09:53:13 +0100
commit01fa662091bd24830ae4cd35bd0ce5c1f030424c (patch)
treeed6c34706909883a69c19ba6dca30bffcca61655 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c
parent3352d86dcd3336a117630f0c1cfbc6bb8c93e1cf (diff)
drm/i915/display: check if compressed_llb was allocated
If we hit the error path here we unconditionally call i915_gem_stolen_remove_node, even though we only allocate the compressed_llb on older platforms. Therefore we should first check that we actually allocated the node before trying to remove it. References: https://gitlab.freedesktop.org/drm/intel/-/issues/3709 Fixes: 46b2c40e0af3 ("drm/i915/fbc: Allocate llb before cfb") Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210701090326.1056452-1-matthew.auld@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions