drm/msm: switch to postclose
I didn't spot anything that would require ordering here (well not anywhere else either), and I'm trying to unify at least modern drivers on one close hook. Cc: Rob Clark <robdclark@gmail.com> Cc: linux-arm-msm@vger.kernel.org Cc: freedreno@lists.freedesktop.org Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
0c3eaf1fbd
commit
94df145c7e
@ -541,7 +541,7 @@ static int msm_open(struct drm_device *dev, struct drm_file *file)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void msm_preclose(struct drm_device *dev, struct drm_file *file)
|
static void msm_postclose(struct drm_device *dev, struct drm_file *file)
|
||||||
{
|
{
|
||||||
struct msm_drm_private *priv = dev->dev_private;
|
struct msm_drm_private *priv = dev->dev_private;
|
||||||
struct msm_file_private *ctx = file->driver_priv;
|
struct msm_file_private *ctx = file->driver_priv;
|
||||||
@ -814,7 +814,7 @@ static struct drm_driver msm_driver = {
|
|||||||
DRIVER_ATOMIC |
|
DRIVER_ATOMIC |
|
||||||
DRIVER_MODESET,
|
DRIVER_MODESET,
|
||||||
.open = msm_open,
|
.open = msm_open,
|
||||||
.preclose = msm_preclose,
|
.postclose = msm_postclose,
|
||||||
.lastclose = msm_lastclose,
|
.lastclose = msm_lastclose,
|
||||||
.irq_handler = msm_irq,
|
.irq_handler = msm_irq,
|
||||||
.irq_preinstall = msm_irq_preinstall,
|
.irq_preinstall = msm_irq_preinstall,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user