summaryrefslogtreecommitdiffstats
path: root/security/tomoyo
diff options
context:
space:
mode:
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>2017-05-05 11:30:06 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:07:00 -0400
commit3273d3bfe58094d9c7b52448399e20f496475afe (patch)
treedae1314aebbca8c02e1b1d7ef11bac35149edae2 /security/tomoyo
parentf3e4341871bee5c91ffbf9d90c4f5af380759e33 (diff)
downloadtalos-obmc-linux-3273d3bfe58094d9c7b52448399e20f496475afe.tar.gz
talos-obmc-linux-3273d3bfe58094d9c7b52448399e20f496475afe.zip
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>
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud