drm/tilcdc: Add timeout wait for palette loading to complete
authorJyri Sarha <jsarha@ti.com>
Thu, 17 Nov 2016 16:46:16 +0000 (18:46 +0200)
committerJyri Sarha <jsarha@ti.com>
Wed, 30 Nov 2016 12:19:34 +0000 (14:19 +0200)
commite59f5af9fba2cfccd26ceed085b9c5e89c81f0ca
treefaaa4e358ca517bec971faa76414bfe3d5934fcb
parent55e165c4d9d32ee86b348d63b65681783b9cc6d1
drm/tilcdc: Add timeout wait for palette loading to complete

Add timeout wait for palette loadind to complete. We do not want to
hang forever if palette loaded interrupt does not arrive for some
reason.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c