drm/tgm: tdm_pp: fix not to call sync fence without fence/dma_buf 70/189070/1 accepted/tizen/5.0/unified/20181106.202246 accepted/tizen/unified/20180914.073317 submit/tizen/20180914.005930 submit/tizen_5.0/20181101.000009 submit/tizen_5.0/20181106.000001
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 13 Sep 2018 07:09:04 +0000 (16:09 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 13 Sep 2018 07:09:10 +0000 (16:09 +0900)
commit38054e2baf09fc45c070fc7978aa1c8225b4bf7d
tree67c263bf90910e0d6d996e9a89f0c1ad99f75cae
parentf413e8888aeb850a16217cdda84b614c5754249c
drm/tgm: tdm_pp: fix not to call sync fence without fence/dma_buf

When without fence or dma_buf, tdm_pp tries to call sync fence and
it causes null deference or not necessary error message. Fix not
to call sync fence without fence or dma_buf.

Change-Id: Ifb6f460a4bd3470c2a692f8b9b5d526a263f1e68
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/gpu/drm/tgm/tdm_pp.c