From: Greg KH <greg@kroah.com>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [stable] [PATCH] drm/radeon/kms: fix possible sigbus in evergreen accel code
Date: Tue, 19 Oct 2010 14:00:05 -0700 [thread overview]
Message-ID: <20101019210005.GD5813@kroah.com> (raw)
In-Reply-To: <1286900431-7497-1-git-send-email-alexdeucher@gmail.com>
I need the ack from the DRM maintainer before I can add a patch to the
stable tree that is not upstream in Linus's tree, as it is a major
exception to the rule.
David?
On Tue, Oct 12, 2010 at 12:20:31PM -0400, Alex Deucher wrote:
> 2.6.35 and 2.6.36 do not contain blit support for evergreen
> asics so if they use unmappable vram, you can end up with an
> unreachable buffer address. This should not be applied to drm-next
> as that tree already contains evergreen blit support. This should
> only be applied to the 2.6.35 and 2.6.36 stable trees.
>
> Fixes:
> https://bugs.freedesktop.org/show_bug.cgi?id=30188
>
> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
> Cc: stable@kernel.org
> ---
> drivers/gpu/drm/radeon/evergreen.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c
> index 2117cf5..f8c0f15 100644
> --- a/drivers/gpu/drm/radeon/evergreen.c
> +++ b/drivers/gpu/drm/radeon/evergreen.c
> @@ -1480,6 +1480,8 @@ int evergreen_mc_init(struct radeon_device *rdev)
> rdev->mc.mc_vram_size = RREG32(CONFIG_MEMSIZE) * 1024 * 1024;
> rdev->mc.real_vram_size = RREG32(CONFIG_MEMSIZE) * 1024 * 1024;
> rdev->mc.visible_vram_size = rdev->mc.aper_size;
> + /* limit it to the aperture size for now as there is no blit support in 2.6.35/36*/
> + rdev->mc.real_vram_size = rdev->mc.visible_vram_size;
> r600_vram_gtt_location(rdev, &rdev->mc);
> radeon_update_bandwidth_info(rdev);
>
> --
> 1.7.1.1
>
> _______________________________________________
> stable mailing list
> stable@linux.kernel.org
> http://linux.kernel.org/mailman/listinfo/stable
next prev parent reply other threads:[~2010-10-19 21:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-12 16:20 [PATCH] drm/radeon/kms: fix possible sigbus in evergreen accel code Alex Deucher
2010-10-19 21:00 ` Greg KH [this message]
2010-10-19 21:22 ` [stable] " Alex Deucher
2010-10-19 22:19 ` Dave Airlie
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=20101019210005.GD5813@kroah.com \
--to=greg@kroah.com \
--cc=alexdeucher@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=stable@kernel.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.