MCLK defaults high on second card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tom,

The attached patch should be able to fix this issue.

Best Regards
Rex



-----Original Message-----
From: StDenis, Tom 
Sent: Friday, February 02, 2018 2:58 AM
To: Deucher, Alexander; amd-gfx mailing list
Cc: Zhu, Rex; Lazare, Jordan; Wentland, Harry
Subject: Re: MCLK defaults high on second card

On 01/02/18 01:54 PM, Deucher, Alexander wrote:
> Does it also work properly with dc disabled?  I suspect a bug 
> somewhere in the display info that dc generated when no displays are attached.
> See smu7_program_display_gap().

Yup, with dc=0 the clock is correctly set.

I'll take a peak (tomorrow) but I suspect it'll probably be more fruitful to hand it over to the display team.

Thanks,
Tom

> 
> 
> Alex
> 
> ----------------------------------------------------------------------
> --
> *From:* StDenis, Tom
> *Sent:* Thursday, February 1, 2018 1:43 PM
> *To:* Deucher, Alexander; amd-gfx mailing list
> *Cc:* Zhu, Rex
> *Subject:* Re: MCLK defaults high on second card On 01/02/18 01:36 PM, 
> Deucher, Alexander wrote:
>> Are there any displays attached to the secondary card with the mclks 
>> stuck high?  If not, does attaching a display help?
> 
> Stealing the display from my primary (CZ in this case) does help, and 
> then putting it back the MCLK remains low.
> 
> Tom
> 
>> 
>> 
>> Alex
>> 
>> ---------------------------------------------------------------------
>> ---
>> *From:* amd-gfx <amd-gfx-bounces at lists.freedesktop.org> on behalf of 
>> Tom St Denis <tom.stdenis at amd.com>
>> *Sent:* Thursday, February 1, 2018 1:14:43 PM
>> *To:* amd-gfx mailing list
>> *Cc:* Zhu, Rex
>> *Subject:* MCLK defaults high on second card Hi,
>> 
>> I have a setup with a CZ + Polaris10 and on the Polaris10 the SCLK 
>> idles low and the MCLK stays in the 2nd state (1750MHz) but on my 
>> Workstation which has a single 560 in it the card idles at 300MHz 
>> (with the stock
>> FC27 kernel).
>> 
>> Is there an issue with non-primary cards idling properly?
>> 
>> Doing
>> 
>> echo 0 > 
>> /sys/devices/pci0000:00/0000:00:03.1/0000:21:00.0/pp_dpm_mclk
>> 
>> Doesn't result in low clock rates either.
>> 
>> Tom
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> 

-------------- next part --------------
An embedded message was scrubbed...
From: Rex Zhu <Rex.Zhu@xxxxxxx>
Subject: [PATCH] drm/amd/pp: fix mclk fixed in high when no display connected
Date: Fri, 2 Feb 2018 12:52:59 +0800
Size: 20114
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20180202/b691fdb0/attachment-0001.mht>


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux