summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>2016-12-05 15:15:33 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-01-27 11:13:31 -0500
commitcb341a319f7e66f879d69af929c3dadfc1a8f31e (patch)
tree0b08b6f91abb4f20851e406fc9bc77a9f2f7bb95 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parent3caf861e987a3409deb0a6e0daded2429d4f4750 (diff)
downloadtalos-obmc-linux-cb341a319f7e66f879d69af929c3dadfc1a8f31e.tar.gz
talos-obmc-linux-cb341a319f7e66f879d69af929c3dadfc1a8f31e.zip
drm/amdgpu: Refactor flip into prepare submit and submit. (v3)
Make pflip atomic friendly. Split the fuinction into whatever can fail part and the actual flip submit part. Call the pre-submit function before atomic states are swapped so in case of error we can fail the IOCTL. v2: Update due to target_vblank code change. Fix identetation. Change return type for amdgpu_crtc_submit_flip to void v3: agd: fix formatting Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@amd.com> Reviewed-by Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud