[PATCH v2 21/29] drm/rockchip: switch to drm_*_get(), drm_*_put() helpers

Sean Paul seanpaul at chromium.org
Thu Aug 10 12:55:46 PDT 2017


On Thu, Aug 10, 2017 at 3:52 PM, Cihangir Akturk <cakturk at gmail.com> wrote:
> On Thu, Aug 10, 2017 at 02:16:08PM -0400, Sean Paul wrote:
>> On Thu, Aug 10, 2017 at 03:10:04PM +0300, Cihangir Akturk wrote:
>> > 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.
>> >
>> > Generated by: scripts/coccinelle/api/drm-get-put.cocci
>> >
>> > Signed-off-by: Cihangir Akturk <cakturk at gmail.com>
>>
>> Hi Cihangir,
>> Thank you for the patch. Unfortunately it does not apply to drm-misc-next. Could
>> you please resend with conflicts resolved?
>
> OK, I'll send a v3 based on drm-next.

*drm-misc-next

> And should I drop patches from
> v1 already pulled in drm-next?
>

yes please

Sean


> Thanks, Cihangir
>
>>
>> Thanks,
>>
>> Sean
>>



More information about the Linux-rockchip mailing list