dsi.c (446279168e030fd0ed68e2bba336bef8bb3da352) dsi.c (4b2b1b3674f80ed786e73d8e24c19e7129257ad8)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
4 */
5
6#include "dsi.h"
7#include "dsi_cfg.h"
8

--- 7 unchanged lines hidden (view full) ---

16
17bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi)
18{
19 unsigned long host_flags = msm_dsi_host_get_mode_flags(msm_dsi->host);
20
21 return !(host_flags & MIPI_DSI_MODE_VIDEO);
22}
23
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
4 */
5
6#include "dsi.h"
7#include "dsi_cfg.h"
8

--- 7 unchanged lines hidden (view full) ---

16
17bool msm_dsi_is_cmd_mode(struct msm_dsi *msm_dsi)
18{
19 unsigned long host_flags = msm_dsi_host_get_mode_flags(msm_dsi->host);
20
21 return !(host_flags & MIPI_DSI_MODE_VIDEO);
22}
23
24struct msm_display_dsc_config *msm_dsi_get_dsc_config(struct msm_dsi *msm_dsi)
24struct drm_dsc_config *msm_dsi_get_dsc_config(struct msm_dsi *msm_dsi)
25{
26 return msm_dsi_host_get_dsc_config(msm_dsi->host);
27}
28
29static int dsi_get_phy(struct msm_dsi *msm_dsi)
30{
31 struct platform_device *pdev = msm_dsi->pdev;
32 struct platform_device *phy_pdev;

--- 272 unchanged lines hidden ---
25{
26 return msm_dsi_host_get_dsc_config(msm_dsi->host);
27}
28
29static int dsi_get_phy(struct msm_dsi *msm_dsi)
30{
31 struct platform_device *pdev = msm_dsi->pdev;
32 struct platform_device *phy_pdev;

--- 272 unchanged lines hidden ---