[PATCH v2 00/22] drm/cma-helper: Remove drm_fbdev_cma* functions
Noralf Trønnes
noralf at tronnes.org
Mon Nov 20 23:52:47 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.
> And looks like something is broken for ARC PGU + ADV7511 with your tree:
> -------------------------->8------------------------
> adv7511: probe of 1-0039 failed with error -2
Maybe the problem is with the cec support added after 4.14:
drm: adv7511/33: add HDMI CEC support
https://cgit.freedesktop.org/drm/drm-misc/commit/drivers/gpu/drm/bridge/adv7511?id=3b1b975003e4a3da4b93ab032487a3ae4afca7b5
Apparently there's a problem with it:
[PATCHv2] drm: adv7511/33: Fix adv7511_cec_init() failure handling
https://lists.freedesktop.org/archives/dri-devel/2017-November/158024.html
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