Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1279692

Re: [radeon r100] when ring test fails, provide users with option to test

From Christian König <christian.koenig@amd.com>
Newsgroups linux.kernel
Subject Re: [radeon r100] when ring test fails, provide users with option to test
Date 2015-11-30 09:50 +0100
Message-ID <qAsjM-1hf-23@gated-at.bofh.it> (permalink)
References <qzUL7-5iU-5@gated-at.bofh.it> <qAiDM-3uF-7@gated-at.bofh.it> <qAiDM-3uF-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 29.11.2015 23:22, Pavel Machek wrote:
> On Sun 2015-11-29 20:48:53, Christian König wrote:
>> On 28.11.2015 21:58, Pavel Machek wrote:
>>> Ring test failure is often caused by too high agpmode. Tell the user
>>> what to try.
>>>
>>> Signed-off-by: Pavel Machek <pavel@ucw.cz>
>> NAK, the ring test can fail for any number of reasons and the agpmode is
>> actually rather unlikely to be the cause.
> Well, when I asked on the list "why this is happened" I got "umm,
> noone knows" response that was not exactly helpful. And then someone
> told me about agpmode.
>
> If you know about the reasons it can fail, could you list them near
> the DRM_ERROR, at least as a comment?

Well as I said, that could be any number of reasons. Some of them even 
completely unrelated to the driver itself.

E.g. BIOS setting, faulty hardware, problems with the writeback etc... 
There is really not a list you could give here.

Lowering the agpmode usually helps more to prevent random corruptions 
and problems under load.

Regards,
Christian.

>
> Thanks,
> 									Pavel
>
>> Regards,
>> Christian.
>>
>>> diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100.c
>>> index 238b13f..32b1917 100644
>>> --- a/drivers/gpu/drm/radeon/r100.c
>>> +++ b/drivers/gpu/drm/radeon/r100.c
>>> @@ -3665,7 +3665,7 @@ int r100_ring_test(struct radeon_device *rdev, struct radeon_ring *ring)
>>>   	if (i < rdev->usec_timeout) {
>>>   		DRM_INFO("ring test succeeded in %d usecs\n", i);
>>>   	} else {
>>> -		DRM_ERROR("radeon: ring test failed (scratch(0x%04X)=0x%08X)\n",
>>> +		DRM_ERROR("radeon: ring test failed (scratch(0x%04X)=0x%08X), try radeon.agpmode=1?\n",
>>>   			  scratch, tmp);
>>>   		r = -EINVAL;
>>>   	}
>>>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[radeon r100] when ring test fails, provide users with option to test Pavel Machek <pavel@ucw.cz> - 2015-11-28 22:00 +0100
  Re: [radeon r100] when ring test fails, provide users with option to  test Pavel Machek <pavel@ucw.cz> - 2015-11-29 23:30 +0100
    Re: [radeon r100] when ring test fails, provide users with option to  test Christian König <christian.koenig@amd.com> - 2015-11-30 09:50 +0100
      Re: [radeon r100] when ring test fails, provide users with option to  test Pavel Machek <pavel@ucw.cz> - 2015-12-01 11:10 +0100
        Re: [radeon r100] when ring test fails, provide users with option to  test Michel Dänzer <michel@daenzer.net> - 2015-12-02 04:20 +0100

csiph-web