diff options
author | Sandor Yu <Sandor.yu@nxp.com> | 2017-11-16 14:53:40 +0800 |
---|---|---|
committer | Sandor Yu <Sandor.yu@nxp.com> | 2017-11-17 15:58:11 +0800 |
commit | 58d55474ef9e9cf22e85ebe85d010e6442bbadcc (patch) | |
tree | d5836365abad135c1f09082ac54e565137ff4220 /drivers/gpu/drm/imx/hdp/imx-hdp.h | |
parent | 678d789d304d8c9d438ae34aa83fdd0a48f94abd (diff) |
MLK-16834-01: hdp: Support hdp driver bind/unbind multitimes by DRM
-Add global static variable fw_run to check fw running state.
HDMI FW should init once when system bootup.
-Support hotplug detect thread exit when hdmi unbind.
-Remove unused functions.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Diffstat (limited to 'drivers/gpu/drm/imx/hdp/imx-hdp.h')
-rw-r--r-- | drivers/gpu/drm/imx/hdp/imx-hdp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/imx/hdp/imx-hdp.h b/drivers/gpu/drm/imx/hdp/imx-hdp.h index 23ecee7ce4bb..e115743283fe 100644 --- a/drivers/gpu/drm/imx/hdp/imx-hdp.h +++ b/drivers/gpu/drm/imx/hdp/imx-hdp.h @@ -186,7 +186,8 @@ struct imx_hdp { struct hdp_clks clks; state_struct state; int vic; - + /* thread */ + struct task_struct *hpd_worker; }; int imx_hdpaux_init(struct device *dev, struct imx_hdp *dp); |