aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/tilcdc/tilcdc_crtc.c')
-rw-r--r--drivers/gpu/drm/tilcdc/tilcdc_crtc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
index 43120fa3b6e9..7418dcd986d3 100644
--- a/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
+++ b/drivers/gpu/drm/tilcdc/tilcdc_crtc.c
@@ -299,6 +299,8 @@ static int tilcdc_crtc_mode_set(struct drm_crtc *crtc,
299 * a value of 0 as 1 299 * a value of 0 as 1
300 */ 300 */
301 if (priv->rev == 2) { 301 if (priv->rev == 2) {
302 /* clear bits we're going to set */
303 reg &= ~0x78000033;
302 reg |= ((hfp-1) & 0x300) >> 8; 304 reg |= ((hfp-1) & 0x300) >> 8;
303 reg |= ((hbp-1) & 0x300) >> 4; 305 reg |= ((hbp-1) & 0x300) >> 4;
304 reg |= ((hsw-1) & 0x3c0) << 21; 306 reg |= ((hsw-1) & 0x3c0) << 21;