linux/drivers/gpu/drm/amd/display/amdgpu_dm
Andrey Grodzovsky 3273d3bfe5 drm/amd/display: Fix race.
Problem :
A race between two adjecent page flips makes the earlier one
to release an alocated frame buffer for the subsequent one -
since there are 2 frambuffer swapped back and forth between flips,
the 'new' fb of the later flip is actually the 'previous' fb for the earlier flip.
Fix:
Don't set fb->address = 0 in cleanup hook, this is unnecessery and
erases the newly cached adress that was set in prepare_fb of the second
flip.

Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-09-26 18:07:00 -04:00
..
amdgpu_dm_helpers.c drm/amd/display: Refactor edid read. 2017-09-26 17:22:17 -04:00
amdgpu_dm_irq.c drm/amd/display: Fix s3 hang on resume. 2017-09-26 17:22:35 -04:00
amdgpu_dm_irq.h drm/amd/display: Fix s3 hang on resume. 2017-09-26 17:22:35 -04:00
amdgpu_dm_mst_types.c drm/amd/display: i2c/aux Remove link index. 2017-09-26 18:06:54 -04:00
amdgpu_dm_mst_types.h drm/amd/display: Refactor edid read. 2017-09-26 17:22:17 -04:00
amdgpu_dm_services.c drm/amd/display: Remove DCE12 guards 2017-09-26 17:19:36 -04:00
amdgpu_dm_types.c drm/amd/display: Fix race. 2017-09-26 18:07:00 -04:00
amdgpu_dm_types.h drm/amd/display: get_atomic_property missing for drm_connector_funcs 2017-09-26 17:22:51 -04:00
amdgpu_dm.c drm/amdgpu/display: Enable DCN in DC 2017-09-26 18:06:51 -04:00
amdgpu_dm.h drm/amd/display: Switch to DRM helpers in s3. 2017-09-26 17:18:36 -04:00
Makefile