From: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: "Michel Dänzer" <michel@daenzer.net>,
"Maling list - DRI developers" <dri-devel@lists.freedesktop.org>,
"Jerome Glisse" <jglisse@redhat.com>,
"Thadeu Lima de Souza Cascardo" <cascardo@linux.vnet.ibm.com>,
"Brian King" <brking@linux.vnet.ibm.com>
Subject: Re: [PATCH] drm/radeon: Disable writeback by default on ppc
Date: Thu, 02 Jan 2014 18:54:54 -0200 [thread overview]
Message-ID: <52C5D21E.4040402@linux.vnet.ibm.com> (raw)
In-Reply-To: <CADnq5_P0z85ChH_LwntuSfOzC_8c6rbNJyefNExtx3TqbyD+dg@mail.gmail.com>
On 12/10/2013 01:12 PM, Alex Deucher wrote:
> On Tue, Dec 10, 2013 at 10:04 AM, Alex Deucher <alexdeucher@gmail.com> wrote:
>> On Mon, Dec 9, 2013 at 9:20 PM, Michel Dänzer <michel@daenzer.net> wrote:
>>> On Mon, 2013-12-09 at 19:48 -0500, Alex Deucher wrote:
>>>>
>>>> -u32 cik_compute_ring_get_wptr(struct radeon_device *rdev,
>>>> - struct radeon_ring *ring)
>>>> +u32 cik_compute_get_wptr(struct radeon_device *rdev,
>>>> + struct radeon_ring *ring)
>>>> {
>>>> u32 wptr;
>>>>
>>>> if (rdev->wb.enabled) {
>>>> - wptr = le32_to_cpu(rdev->wb.wb[ring->wptr_offs/4]);
>>>> + wptr = rdev->wb.wb[ring->wptr_offs/4];
>>>> } else {
>>>> mutex_lock(&rdev->srbm_mutex);
>>>> cik_srbm_select(rdev, ring->me, ring->pipe,
>>>> ring->queue, 0);
>>>> @@ -4053,8 +4081,8 @@ u32 cik_compute_ring_get_wptr(struct
>>>> radeon_device *rdev,
>>>> return wptr;
>>>> }
>>>>
>>>> -void cik_compute_ring_set_wptr(struct radeon_device *rdev,
>>>> - struct radeon_ring *ring)
>>>> +void cik_compute_set_wptr(struct radeon_device *rdev,
>>>> + struct radeon_ring *ring)
>>>> {
>>>> rdev->wb.wb[ring->wptr_offs/4] = cpu_to_le32(ring->wptr);
>>>
>>> I think this cpu_to_le32() needs to be dropped as well to match
>>> cik_compute_ring_get_wptr().
>>
>> whoops, yeah, missed that one.
>
> Updated patch attached.
>
> Alex
>
Hi, Alex.
Has this patch been accepted upstream? I've tested it successfully on a
ppc64 system with a FirePro 2270 adapter.
Thanks,
--
Kleber Sacilotto de Souza
IBM Linux Technology Center
next prev parent reply other threads:[~2014-01-02 20:55 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-17 14:06 [PATCH] drm/radeon: Disable writeback by default on ppc Adam Jackson
2013-06-17 15:04 ` Alex Deucher
2013-06-17 16:07 ` Adam Jackson
2013-06-17 22:57 ` Alex Deucher
2013-11-07 22:29 ` Benjamin Herrenschmidt
2013-11-08 13:43 ` Kleber Sacilotto de Souza
2013-11-24 23:15 ` Benjamin Herrenschmidt
2013-11-26 0:11 ` Kleber Sacilotto de Souza
2013-12-04 22:16 ` Kleber Sacilotto de Souza
2013-12-04 23:56 ` Alex Deucher
2013-12-05 0:05 ` Alex Deucher
2013-12-05 1:39 ` Benjamin Herrenschmidt
2013-12-05 2:29 ` Michel Dänzer
2013-12-05 4:06 ` Benjamin Herrenschmidt
2013-12-05 14:42 ` Alex Deucher
2013-12-06 13:58 ` Kleber Sacilotto de Souza
2013-12-06 15:59 ` Alex Deucher
2013-12-10 0:48 ` Alex Deucher
2013-12-10 2:20 ` Michel Dänzer
2013-12-10 15:04 ` Alex Deucher
2013-12-10 15:12 ` Alex Deucher
2014-01-02 20:54 ` Kleber Sacilotto de Souza [this message]
2014-01-02 22:48 ` Alex Deucher
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=52C5D21E.4040402@linux.vnet.ibm.com \
--to=klebers@linux.vnet.ibm.com \
--cc=alexdeucher@gmail.com \
--cc=brking@linux.vnet.ibm.com \
--cc=cascardo@linux.vnet.ibm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jglisse@redhat.com \
--cc=michel@daenzer.net \
/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.