All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Nikolaus Schaller" <hns@goldelico.com>
To: Tero Kristo <t-kristo@ti.com>
Cc: "Tony Lindgren" <tony@atomide.com>,
	"Merlijn Wajer" <merlijn@wizzup.org>,
	"Adam Ford" <aford173@gmail.com>,
	"Philipp Rossak" <embed3d@gmail.com>,
	"Paweł Chmiel" <pawel.mikolaj.chmiel@gmail.com>,
	"Tomi Valkeinen" <tomi.valkeinen@ti.com>,
	"Filip Matijević" <filip.matijevic.pz@gmail.com>,
	"Ivaylo Dimitrov" <ivo.g.dimitrov.75@gmail.com>,
	"moaz korena" <moaz@korena.xyz>,
	"James Hilliard" <james.hilliard1@gmail.com>,
	kernel@pyra-handheld.com,
	"Discussions about the Letux Kernel"
	<letux-kernel@openphoenux.org>,
	maemo-leste@lists.dyne.org,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
	linux-omap <linux-omap@vger.kernel.org>
Subject: Re: Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5
Date: Tue, 8 Oct 2019 22:15:57 +0200	[thread overview]
Message-ID: <0FEF1AB1-5FE0-4EEE-BEB9-0957BB424C18@goldelico.com> (raw)
In-Reply-To: <0bb4739d-e26f-de49-fd80-257a836e892a@ti.com>


> Am 08.10.2019 um 10:00 schrieb Tero Kristo <t-kristo@ti.com>:
> 
> On 07/10/2019 22:24, H. Nikolaus Schaller wrote:
>> Hi Tero,
>>> Am 07.10.2019 um 21:18 schrieb Tero Kristo <t-kristo@ti.com>:
>>> 
>>> On 07/10/2019 18:52, Tony Lindgren wrote:
>>>> Hi,
>>>> * H. Nikolaus Schaller <hns@goldelico.com> [191005 16:59]:
>>>> Please try with Tero's current github branch at github.com/t-kristo/linux-pm.git
>>>> 5.4-rc1-ipc from few days ago, the earlier versions had still issues.
>>> 
>>> Yeah, this one should be fixed now.
>> Ok! Will try asap.
>>> 
>>>>> * OMAP5 (Pyra): fails to enable the clocks (did work with the previous version)
>>>>> [  304.140363] clock-controller:clk:0000:0: failed to enable
>>>>> [  304.147388] PVR_K:(Error): EnableSGXClocks: pm_runtime_get_sync failed (16)
>>>> Hmm no idea what might be up with this one. Did some clkctrl clock
>>>> fixes maybe cause a regression here? Tero do you have any ideas?
>>> 
>>> So, this one I am not too sure, I haven't looked at omap5 graphics clocking. I don't think it has anything to do with reset handling though.
>>> 
>>> Is there some simple way to try this out on board; without PVR module that is?
>> Yes, I have also seen it when just running the commands in the original commit message [1]:
>> # echo on > $(find /sys -name control | grep \/5600)
>> # rwmem 0x5600fe00	# OCP Revision
>> 0x5600fe00 = 0x40000000
>> # echo auto > $(find /sys -name control | grep \/5600)
>> # rwmem 0x5600fe10
>> # rwmem 0x56000024
>> But I have not yet tested with 5.4-rc2, just 5.4-rc1.
> 
> Ok, there is a one liner DTS data fix for this issue, attached.

Yes, have tested and it fixes omap5. I have the 3D demo running again on the Pyra. Yay!

Together with the latest rstcrtl patches, am335x is now better.
No omap_reset_deassert: timedout waiting for gfx:0 any more.

But I can't access the sgx registers and get memory faults. Maybe
my script has a bug and is trying the wrong address. Have to check
with some distance...

I have also tested omap3630 and omap4460 and they are not worse,
but also not better. So I think the foundation for sgx clock and
reset is now ok.

BR and thanks,
Nikolaus

  parent reply	other threads:[~2019-10-08 20:16 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20180108214032.GW3872@atomide.com>
     [not found] ` <4d99c1ae-7752-949b-7e88-bc8f1dc594a2@wizzup.org>
     [not found]   ` <0C51EC59-9CDC-4196-ACF9-24596C9E61B6@goldelico.com>
     [not found]     ` <FA4520D5-62CB-446D-975C-A1C7B9251517@goldelico.com>
     [not found]       ` <20190212205132.GO5720@atomide.com>
     [not found]         ` <0b00ce0a-969f-e638-8247-c2da96cf7ce6@gmail.com>
     [not found]           ` <20190213004143.GP5720@atomide.com>
     [not found]             ` <480AB632-A544-41E7-95A4-DC354AEBB71A@goldelico.com>
     [not found]               ` <CAKpie0SigGGsQxSU+X-Mz5boy-Xx=3wRNOcrf+F=ehFr3RBi7Q@mail.gmail.com>
     [not found]                 ` <092210C3-05DE-4AFB-986F-81BD8F990B67@goldelico.com>
     [not found]                   ` <CAKpie0RXM1UC33YFeFy-kAxfGhYGNkw4vUgNTThf-ZCAhPTVXw@mail.gmail.com>
     [not found]                     ` <BE23C1E4-2877-49FA-B230-F9C10691B805@goldelico.com>
     [not found]                       ` <CAKpie0TSo-8gmDm9_Zw4Sd+kjVVEomp8yA9Vu8qY2U2AcrQc=w@mail.gmail.com>
     [not found]                         ` <8A069D96-C65F-43F5-8F54-20019CFB1A8D@goldelico.com>
     [not found]                           ` <d0cbfaaf-813e-8803-f90b-931a38396750@wizzup.org>
     [not found]                             ` <3A03FF16-C203-43ED-AEEF-0260F6B3331A@goldelico.com>
     [not found]                               ` <3b0a5e78-c4c2-1963-bac7-b49496a1e9b9@wizzup.org>
     [not found]                                 ` <1F942AAB-1648-46C0-ADD5-90F6898778BE@goldelico.com>
     [not found]                                   ` <84cac9b8-0eff-33f8-464d-4f8045d7db19@wizzup.org >
     [not found]                                     ` <84cac9b8-0eff-33f8-464d-4f8045d7db19@wizzup.org>
2019-08-14  8:56                                       ` Lay common foundation to make PVR/SGX work without hacks on OMAP34xx, OMAP36xx, AM335x and potentially OMAP4, OMAP5 H. Nikolaus Schaller
2019-08-14  8:56                                         ` H. Nikolaus Schaller
2019-08-14  9:47                                         ` Tony Lindgren
2019-08-14 10:33                                           ` H. Nikolaus Schaller
2019-08-14 13:16                                             ` Tony Lindgren
2019-08-16 23:01                                               ` Adam Ford
2019-08-17  7:03                                                 ` Tony Lindgren
2019-08-19 19:25                                                   ` Adam Ford
2019-08-21 11:38                                                     ` Tony Lindgren
2019-08-17  9:01                                                 ` H. Nikolaus Schaller
2019-08-19 19:43                                         ` Adam Ford
2019-08-20  6:48                                           ` H. Nikolaus Schaller
2019-08-20  6:48                                             ` H. Nikolaus Schaller
2019-08-20  7:09                                             ` Merlijn Wajer
     [not found]                                               ` <C3A56737-6187-4B31-8697-3A02DD164429@goldelico.com>
2019-10-07 15:52                                                 ` Tony Lindgren
2019-10-07 15:56                                                   ` H. Nikolaus Schaller
2019-10-07 19:18                                                   ` Tero Kristo
2019-10-07 19:24                                                     ` H. Nikolaus Schaller
2019-10-08  8:00                                                       ` Tero Kristo
2019-10-08  8:00                                                         ` Tero Kristo
2019-10-08 13:49                                                         ` Tony Lindgren
2019-10-08 20:15                                                         ` H. Nikolaus Schaller [this message]
2019-10-09 12:53                                                           ` H. Nikolaus Schaller
2019-10-09 13:55                                                             ` Tero Kristo
2019-10-09 14:23                                                               ` H. Nikolaus Schaller
2019-10-09 14:23                                                                 ` H. Nikolaus Schaller
2019-10-09 16:34                                                                 ` Tero Kristo
2019-10-09 19:53                                                                   ` H. Nikolaus Schaller
2019-10-09 19:53                                                                     ` H. Nikolaus Schaller
2019-10-12 13:09                                                 ` [Letux-kernel] " H. Nikolaus Schaller
2019-10-12 13:09                                                   ` H. Nikolaus Schaller
2019-10-14 16:11                                                   ` H. Nikolaus Schaller
2019-10-14 16:11                                                     ` H. Nikolaus Schaller
2019-10-16 23:03                                                     ` Tony Lindgren

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=0FEF1AB1-5FE0-4EEE-BEB9-0957BB424C18@goldelico.com \
    --to=hns@goldelico.com \
    --cc=aford173@gmail.com \
    --cc=embed3d@gmail.com \
    --cc=filip.matijevic.pz@gmail.com \
    --cc=ivo.g.dimitrov.75@gmail.com \
    --cc=james.hilliard1@gmail.com \
    --cc=kernel@pyra-handheld.com \
    --cc=letux-kernel@openphoenux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=maemo-leste@lists.dyne.org \
    --cc=merlijn@wizzup.org \
    --cc=moaz@korena.xyz \
    --cc=pawel.mikolaj.chmiel@gmail.com \
    --cc=t-kristo@ti.com \
    --cc=tomi.valkeinen@ti.com \
    --cc=tony@atomide.com \
    /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.