All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Y.C. Chen" <yacheng600221@gmail.com>
To: dri-devel@lists.freedesktop.org
Cc: airlied@redhat.com, eich@suse.com, yc_chen@aspeedtech.com,
	stable@vger.kernel.org, daniel@ffwll.ch
Subject: [PATCH] drm/ast: change resolution may cause screen blurred
Date: Wed,  3 Oct 2018 14:57:47 +0800	[thread overview]
Message-ID: <1538549867-1014-1-git-send-email-yc_chen@aspeedtech.com> (raw)

From: "Y.C. Chen" <yc_chen@aspeedtech.com>

The value of pitches is not correct while calling mode_set.
The issue we found so far on following system:
- Debian8 with XFCE Desktop
- Ubuntu with KDE Desktop
- SUSE15 with KDE Desktop

Signed-off-by: Y.C. Chen <yc_chen@aspeedtech.com>
---
 drivers/gpu/drm/ast/ast_mode.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c
index 5e77d45..f06aae7 100644
--- a/drivers/gpu/drm/ast/ast_mode.c
+++ b/drivers/gpu/drm/ast/ast_mode.c
@@ -568,6 +568,7 @@ static int ast_crtc_do_set_base(struct drm_crtc *crtc,
 	}
 	ast_bo_unreserve(bo);
 
+	ast_set_offset_reg(crtc);
 	ast_set_start_address_crt1(crtc, (u32)gpu_addr);
 
 	return 0;
-- 
1.8.3.1

             reply	other threads:[~2018-10-03 13:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-03  6:57 Y.C. Chen [this message]
2018-10-03  9:22 ` [PATCH] drm/ast: change resolution may cause screen blurred Daniel Vetter
2018-11-21 14:49 ` Jean Delvare
  -- strict thread matches above, loose matches on Subject: below --
2018-10-01  5:26 Y.C. Chen
2018-10-01  8:22 ` Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1538549867-1014-1-git-send-email-yc_chen@aspeedtech.com \
    --to=yacheng600221@gmail.com \
    --cc=airlied@redhat.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=eich@suse.com \
    --cc=stable@vger.kernel.org \
    --cc=yc_chen@aspeedtech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.