diff options
author | Pi-Hsun Shih <pihsun@chromium.org> | 2021-05-17 14:35:28 +0800 |
---|---|---|
committer | Robert Foss <robert.foss@linaro.org> | 2021-05-18 14:51:14 +0200 |
commit | 60487584a79abd763570b54d59e6aad586d64c7b (patch) | |
tree | 52fc42e5522e5e53ef14c2d95d087f3906eccd8a /drivers/gpu/drm/scheduler/sched_entity.c | |
parent | 337ed732b35cdd7c8119d9464b40b6b539b75a25 (diff) |
drm/bridge: anx7625: refactor power control to use runtime PM framework
The driver originally use an atomic_t for keep track of the power
status, which makes the driver more complicated than needed, and has
some race condition as it's possible to have the power on and power off
sequence going at the same time.
This patch remove the usage of the atomic_t power_status, and use the
kernel runtime power management framework instead.
Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org>
Reviewed-by: Tzung-Bi Shih <tzungbi@google.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210517063553.554955-1-pihsun@chromium.org
Diffstat (limited to 'drivers/gpu/drm/scheduler/sched_entity.c')
0 files changed, 0 insertions, 0 deletions