From: Alex Deucher <alexdeucher@gmail.com>
To: airlied@gmail.com, dri-devel@lists.freedesktop.org
Subject: [PATCH] drm/radeon/kms: fix r6xx/7xx 1D tiling CS checker
Date: Tue, 26 Oct 2010 15:21:41 -0400 [thread overview]
Message-ID: <1288120901-6433-1-git-send-email-alexdeucher@gmail.com> (raw)
broken by:
drm/radeon/r600: fix tiling issues in CS checker.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
---
drivers/gpu/drm/radeon/r600_cs.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c
index 7e44b5a..aec0944 100644
--- a/drivers/gpu/drm/radeon/r600_cs.c
+++ b/drivers/gpu/drm/radeon/r600_cs.c
@@ -190,6 +190,8 @@ static inline int r600_cs_track_validate_cb(struct radeon_cs_parser *p, int i)
height = slice_tile_max / (pitch * 8);
if (height > 8192)
height = 8192;
+ if (height > 7)
+ height &= ~0x7;
array_mode = G_0280A0_ARRAY_MODE(track->cb_color_info[i]);
switch (array_mode) {
case V_0280A0_ARRAY_LINEAR_GENERAL:
--
1.7.1.1
next reply other threads:[~2010-10-26 19:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-26 19:21 Alex Deucher [this message]
2010-10-27 0:22 ` [PATCH] drm/radeon/kms: fix r6xx/7xx 1D tiling CS checker v2 Alex Deucher
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=1288120901-6433-1-git-send-email-alexdeucher@gmail.com \
--to=alexdeucher@gmail.com \
--cc=airlied@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
/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.