All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oded Gabbay <oded.gabbay@amd.com>
To: "Deucher, Alexander" <Alexander.Deucher@amd.com>,
	Alex Deucher <alexdeucher@gmail.com>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>
Cc: "stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: [PATCH] drm/radeon: don't init gpuvm if accel is disabled
Date: Thu, 29 Jan 2015 15:58:30 +0200	[thread overview]
Message-ID: <54CA3C86.6030802@amd.com> (raw)
In-Reply-To: <A3397C8B8B789E45844E7EC5DEAD89D0635F3B0C@satlexdag05.amd.com>



On 01/29/2015 03:54 PM, Deucher, Alexander wrote:
>> -----Original Message-----
>> From: Gabbay, Oded
>> Sent: Thursday, January 29, 2015 2:46 AM
>> To: Alex Deucher; dri-devel@lists.freedesktop.org
>> Cc: Deucher, Alexander; stable@vger.kernel.org
>> Subject: Re: [PATCH] drm/radeon: don't init gpuvm if accel is disabled
>>
>>
>>
>> On 01/28/2015 09:41 PM, Alex Deucher wrote:
>>> If acceleration is disabled, it does not make sense
>>> to init gpuvm since nothing will use it.  Moreover,
>>> if radeon_vm_init() gets called it uses accel to try
>>> and clear the pde tables, etc. which results in a bug.
>>>
>>> Bug:
>>> https://bugs.freedesktop.org/show_bug.cgi?id=88786
>>>
>>> Signed-off-by: Alex Deucher<alexander.deucher@amd.com>
>>> Cc:stable@vger.kernel.org
>> Alex,
>> What is accel ?
>
> If the ring tests fail and for some reason the IPs (e.g., gfx or sdma) are not available, the driver disables acceleration and basically falls back to modesetting only.
>
>> Is there a situation where accel is disabled and HSA should work ? e.g.
>> headless
>> mode ?
>
> No.  We only disable acceleration if we can't get the IPs (gfx, sdma) initialized.  Headless has nothing to do with acceleration in this context.
>
> Alex
>
OK, thanks for the explanation.

	Oded

      reply	other threads:[~2015-01-29 13:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28 19:41 [PATCH] drm/radeon: don't init gpuvm if accel is disabled Alex Deucher
2015-01-29  7:46 ` Oded Gabbay
2015-01-29 10:36   ` Christian König
2015-01-29 13:54   ` Deucher, Alexander
2015-01-29 13:58     ` Oded Gabbay [this message]

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=54CA3C86.6030802@amd.com \
    --to=oded.gabbay@amd.com \
    --cc=Alexander.Deucher@amd.com \
    --cc=alexdeucher@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=stable@vger.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.