diff options
| author | Yunyun Cao <yunyunc@codeaurora.org> | 2018-09-06 11:37:11 +0800 |
|---|---|---|
| committer | Yunyun Cao <yunyunc@codeaurora.org> | 2018-09-06 11:41:19 +0800 |
| commit | 99c41dbdb35d143849a708884fd2c983d80c31fb (patch) | |
| tree | 3c7c3ee375d3a47236a904808e1de0d46d4d8239 | |
| parent | 6aab18ee11149b4e2d00c0fd8da3a54661979226 (diff) | |
drm/msm/hdmi: add rgb flag for HDMI customized mode
Add rgb flag to make sure HDMI customized mode pass
the format check.
Change-Id: I2d1df731bef493e15f83dac569673589e2408c68
Signed-off-by: Yunyun Cao <yunyunc@codeaurora.org>
| -rw-r--r-- | drivers/gpu/drm/msm/hdmi-staging/sde_hdmi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/hdmi-staging/sde_hdmi.c b/drivers/gpu/drm/msm/hdmi-staging/sde_hdmi.c index 1f0a9d44d426..39b06eda83b9 100644 --- a/drivers/gpu/drm/msm/hdmi-staging/sde_hdmi.c +++ b/drivers/gpu/drm/msm/hdmi-staging/sde_hdmi.c @@ -3045,6 +3045,8 @@ static int _sde_hdmi_parse_dt_modes(struct device_node *np, flags |= DRM_MODE_FLAG_PVSYNC; else flags |= DRM_MODE_FLAG_NVSYNC; + + flags |= DRM_MODE_FLAG_SUPPORTS_RGB; mode->flags = flags; if (!rc) { |
