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


Groups > linux.kernel > #1711387 > unrolled thread

Re: [PATCH v3 24/28] drm/vc4: switch to drm_*_get(), drm_*_put() helpers

Started byEric Anholt <eric@anholt.net>
First post2017-08-14 22:00 +0200
Last post2017-08-14 23:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v3 24/28] drm/vc4: switch to drm_*_get(), drm_*_put() helpers Eric Anholt <eric@anholt.net> - 2017-08-14 22:00 +0200
    Re: [PATCH v3 24/28] drm/vc4: switch to drm_*_get(), drm_*_put()  helpers Cihangir Akturk <cakturk@gmail.com> - 2017-08-14 22:10 +0200
      Re: [PATCH v3 24/28] drm/vc4: switch to drm_*_get(), drm_*_put() helpers Eric Anholt <eric@anholt.net> - 2017-08-14 23:20 +0200

#1711387 — Re: [PATCH v3 24/28] drm/vc4: switch to drm_*_get(), drm_*_put() helpers

FromEric Anholt <eric@anholt.net>
Date2017-08-14 22:00 +0200
SubjectRe: [PATCH v3 24/28] drm/vc4: switch to drm_*_get(), drm_*_put() helpers
Message-ID<uetGN-8je-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Cihangir Akturk <cakturk@gmail.com> writes:

> Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference()
> and drm_*_unreference() helpers.
>
> drm_*_reference() and drm_*_unreference() functions are just
> compatibility alias for drm_*_get() and drm_*_put() and should not be
> used by new code. So convert all users of compatibility functions to
> use the new APIs.

Mind if I change the subject line to "drm/vc4: Continue the switch to
drm_*_put() helpers"? to distinguish from the patch that already landed?

(Looks like your previous patch was generated before my BO labeling code
landed, so we got another little patch here cleaning up the new code as
well)

[toc] | [next] | [standalone]


#1711395 — Re: [PATCH v3 24/28] drm/vc4: switch to drm_*_get(), drm_*_put() helpers

FromCihangir Akturk <cakturk@gmail.com>
Date2017-08-14 22:10 +0200
SubjectRe: [PATCH v3 24/28] drm/vc4: switch to drm_*_get(), drm_*_put() helpers
Message-ID<uetQu-ae-15@gated-at.bofh.it>
In reply to#1711387
On Mon, Aug 14, 2017 at 12:47:01PM -0700, Eric Anholt wrote:
> Cihangir Akturk <cakturk@gmail.com> writes:
> 
> > Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference()
> > and drm_*_unreference() helpers.
> >
> > drm_*_reference() and drm_*_unreference() functions are just
> > compatibility alias for drm_*_get() and drm_*_put() and should not be
> > used by new code. So convert all users of compatibility functions to
> > use the new APIs.
> 
> Mind if I change the subject line to "drm/vc4: Continue the switch to
> drm_*_put() helpers"? to distinguish from the patch that already landed?

It's OK with me. Go ahead, change to whatever you want.

> 
> (Looks like your previous patch was generated before my BO labeling code
> landed, so we got another little patch here cleaning up the new code as
> well)

Thanks, Cihangir.

[toc] | [prev] | [next] | [standalone]


#1711464

FromEric Anholt <eric@anholt.net>
Date2017-08-14 23:20 +0200
Message-ID<ueuWd-Mv-3@gated-at.bofh.it>
In reply to#1711395

[Multipart message — attachments visible in raw view] — view raw

Cihangir Akturk <cakturk@gmail.com> writes:

> On Mon, Aug 14, 2017 at 12:47:01PM -0700, Eric Anholt wrote:
>> Cihangir Akturk <cakturk@gmail.com> writes:
>> 
>> > Use drm_*_get() and drm_*_put() helpers instead of drm_*_reference()
>> > and drm_*_unreference() helpers.
>> >
>> > drm_*_reference() and drm_*_unreference() functions are just
>> > compatibility alias for drm_*_get() and drm_*_put() and should not be
>> > used by new code. So convert all users of compatibility functions to
>> > use the new APIs.
>> 
>> Mind if I change the subject line to "drm/vc4: Continue the switch to
>> drm_*_put() helpers"? to distinguish from the patch that already landed?
>
> It's OK with me. Go ahead, change to whatever you want.

Changed and pushed.  Thanks!

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web