disp: msm: sde: remove all preclose logic
The DRM framework only calls the driver's preclose callback function if the LEGACY driver feature is enabled. Therefore strip out this logic as it never gets executed since LEGACY is not supported for msm_drm driver. Change-Id: I95474cd5424423ef194faae12f1241698f3e467e Signed-off-by: Steve Cohen <cohens@codeaurora.org>
Esse commit está contido em:

commit de
Gerrit - the friendly Code Review server

pai
ff5365a1e0
commit
ae2dceb0b6
@@ -907,15 +907,6 @@ static void context_close(struct msm_file_private *ctx)
|
||||
kfree(ctx);
|
||||
}
|
||||
|
||||
static void msm_preclose(struct drm_device *dev, struct drm_file *file)
|
||||
{
|
||||
struct msm_drm_private *priv = dev->dev_private;
|
||||
struct msm_kms *kms = priv->kms;
|
||||
|
||||
if (kms && kms->funcs && kms->funcs->preclose)
|
||||
kms->funcs->preclose(kms, file);
|
||||
}
|
||||
|
||||
static void msm_postclose(struct drm_device *dev, struct drm_file *file)
|
||||
{
|
||||
struct msm_drm_private *priv = dev->dev_private;
|
||||
@@ -1564,7 +1555,6 @@ static struct drm_driver msm_driver = {
|
||||
DRIVER_ATOMIC |
|
||||
DRIVER_MODESET,
|
||||
.open = msm_open,
|
||||
.preclose = msm_preclose,
|
||||
.postclose = msm_postclose,
|
||||
.lastclose = msm_lastclose,
|
||||
.irq_handler = msm_irq,
|
||||
|
Referência em uma nova issue
Block a user