diff options
author | Nikola Cornij <nikola.cornij@amd.com> | 2019-04-03 12:17:34 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-22 09:34:10 -0500 |
commit | c92b4c46c164fbc05b72543b76222b8468f9fad3 (patch) | |
tree | cf25baff9679a5ca67d180dbd559404592ba60b8 /drivers/gpu/drm/amd/display/dc/irq/dcn20/irq_service_dcn20.c | |
parent | 5940ff3941c8917d04b1485e9ac9ae03da498393 (diff) | |
download | linux-stericsson-c92b4c46c164fbc05b72543b76222b8468f9fad3.tar.gz |
drm/amd/display: Mark DSC resource as unused after copying to the secondary ODM pipe
[why]
DSC resource has to be acquired before it can be used and simply copying
a reference to it is very likely to cause problems when accessing DSC.
[how]
Set DSC resource pointer to NULL to mark it as unused after primary pipe
resources were copied to the secondary ODM pipe.
Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/irq/dcn20/irq_service_dcn20.c')
0 files changed, 0 insertions, 0 deletions