[PATCH v2 00/22] drm/cma-helper: Remove drm_fbdev_cma* functions

Noralf Trønnes noralf at tronnes.org
Fri Nov 17 11:12:28 UTC 2017


Den 17.11.2017 10.10, skrev Alexey Brodkin:
> Hi Noralf,
>
> On Thu, 2017-11-16 at 21:11 +0100, Noralf Trønnes wrote:
>> Den 16.11.2017 09.14, skrev Shawn Guo:
>>> On Wed, Nov 15, 2017 at 03:19:39PM +0100, Noralf Trønnes wrote:
>>>> This patchset adds drm_fb_cma_fbdev_init/fini() functions that replaces
>>>> drm_fbdev_cma_init/fini(). The reason for doing so is to get rid of
>>>> struct drm_fbdev_cma and it's wrapper functions. The final piece will
>>>> happen when tinydrm moves away from the cma helper and we can remove the
>>>> struct.
>>>>
>>>> Note:
>>>> Patches 19-22 depends on patchset:
>>>> [v3] drm: Add simple modeset suspend/resume helpers
>>> Is there a git branch somewhere we can test?
>>>
>> Here you go: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notro_linux_tree_drm-5Ffb-5Fcma-5Ffbdev-5Finit&d=DwIDaQ&c=DPL6_X_6JkXFx
>> 7AXWqB0tg&r=OtZvQ4lNHIbjtyysXrNW8RbX6WFkigcev-xByzJ_fLk&m=McbBjcx46wmGkpM3GHmk9URB1xbd6ywS-
>> Z5tpdWwDX8&s=BewulagwMNQa5xW19olMnlzV5DI5cZ_7eDSPyUpzMV8&e=
> Thanks for that this really helps to test your patches.

That's nice to know so I can include it in future patchsets like this.

> And looks like something is broken for ARC PGU + ADV7511 with your tree:
> -------------------------->8------------------------
> adv7511: probe of 1-0039 failed with error -2

-2 is -ENOENT
There are some changes to adv7511 in drm-misc since 4.14.
I suggest you try drm-misc-next directly to see if that works or not.

Noralf.

> arcpgu e0017000.pgu: arc_pgu ID: 0x41440304
> arcpgu e0017000.pgu: assigned reserved memory node frame_buffe
> r at 9e000000
> [drm] Cannot find any crtc or sizes
> [drm] Cannot find any crtc or sizes
> [drm] Initialized arcpgu 1.0.0 20160219 for e0017000.pgu on minor 0
> -------------------------->8------------------------
>
> That's what I see on vanilla 4.14 kernel:
> -------------------------->8------------------------
> arcpgu e0017000.pgu: arc_pgu ID: 0x41440304
> arcpgu e0017000.pgu: assigned reserved memory node frame_buffer at 9e000000
> Console: switching to colour frame buffer device 160x45
> arcpgu e0017000.pgu: fb0:  frame buffer device
> [drm] Initialized arcpgu 1.0.0 20160219 for e0017000.pgu on minor 0
> -------------------------->8------------------------
>
> Any thoughts?
>
> -Alexey
>



More information about the dri-devel mailing list