aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2021-07-01 09:03:26 +0000
committerMatthew Auld <[email protected]>2021-07-02 08:53:13 +0000
commit01fa662091bd24830ae4cd35bd0ce5c1f030424c (patch)
treeed6c34706909883a69c19ba6dca30bffcca61655 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdrm/i915/display/dg1: Correctly map DPLLs during state readout (diff)
downloadkernel-01fa662091bd24830ae4cd35bd0ce5c1f030424c.tar.gz
kernel-01fa662091bd24830ae4cd35bd0ce5c1f030424c.zip
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 <[email protected]> Cc: Ville Syrjälä <[email protected]> Cc: José Roberto de Souza <[email protected]> Reviewed-by: José Roberto de Souza <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions