drm/komeda: Initialize and enable output polling on Komeda
authorLowry Li (Arm Technology China) <Lowry.Li@arm.com>
Fri, 2 Aug 2019 08:07:52 +0000 (08:07 +0000)
committerjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Fri, 9 Aug 2019 06:56:54 +0000 (14:56 +0800)
commit1109635b292c82e7a2aa15e38edb7c389e34b693
tree23aec58751c97d341468d7fb0f8591841616b5fa
parentf7ccbed656f78212593ca965d9a8f34bf24e0aab
drm/komeda: Initialize and enable output polling on Komeda

Initialize and enable output polling on Komeda.

Changes since v1:
1. Enable the polling before registering the driver;
2. Disable the polling after unregistering the driver.

Changes since v2:
1. If driver register failed, disable the polling.

Signed-off-by: Lowry Li (Arm Technology China) <lowry.li@arm.com>
Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: james qian wang (Arm Technology China) <james.qian.wang@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1564733249-24329-1-git-send-email-lowry.li@arm.com
drivers/gpu/drm/arm/display/komeda/komeda_kms.c