disp: msm: make msm_drm into single module

Make msm_drm into single module and all child driver
registers and unregisters are handled from parent's
register and unregister respectively.

Change-Id: I017513d1de3b6b25dd5543d7fa7741c0bac1740d
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
This commit is contained in:
Shashank Babu Chinta Venkata
2019-09-23 10:54:29 -07:00
committed by Chandan Uddaraju
parent eaa458b165
commit 8b8bfe0165
21 changed files with 163 additions and 108 deletions

View File

@@ -511,7 +511,7 @@ struct sde_encoder_phys *sde_encoder_phys_cmd_init(
* @p: Pointer to init params structure
* Return: Error code or newly allocated encoder
*/
#ifdef CONFIG_DRM_SDE_WB
#if IS_ENABLED(CONFIG_DRM_SDE_WB)
struct sde_encoder_phys *sde_encoder_phys_wb_init(
struct sde_enc_phys_init_params *p);
#else
@@ -521,7 +521,7 @@ struct sde_encoder_phys *sde_encoder_phys_wb_init(
{
return NULL;
}
#endif
#endif /* CONFIG_DRM_SDE_WB */
void sde_encoder_phys_setup_cdm(struct sde_encoder_phys *phys_enc,
struct drm_framebuffer *fb, const struct sde_format *format,