Summary: | [exynos-drm] failed to presentate a dumb buffer format NV12 with modifier DRM_FORMAT_MOD_SAMSUNG_64_32_TILE | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Jens Ziller <zillevdr> | ||||||
Component: | DRM/other | Assignee: | Default DRI bug account <dri-devel> | ||||||
Status: | RESOLVED MOVED | QA Contact: | |||||||
Severity: | blocker | ||||||||
Priority: | medium | ||||||||
Version: | unspecified | ||||||||
Hardware: | ARM | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
Jens Ziller
2019-04-04 16:32:07 UTC
Could you post exact steps to reproduce it? Code/command line, plus kernel logs with drm.debug=31. Created attachment 143878 [details] complete dmesg out The added dmesg out is complete from boot. The warning during boot is new. I never see it before. v4l2-drm-test runs like before. My code is on github. It's ugly code. Much things are hardcoded. It's only for testing. https://github.com/zillevdr/v4l2-drm-test Looking at the code apparently you are setting V4L2_PIX_FMT_NV12MT_16X16 in MFC, but MIXER requires V4L2_PIX_FMT_NV12MT. No, the ioctl there https://github.com/zillevdr/v4l2-drm-test/blob/master/v4l2.c#L150 looks what format MFC can use. This I set in line 155. The output from fprintf line 174: FMT CAPTURE: width 1280 height 736 4cc TM12 num_planes 2 https://www.linuxtv.org/downloads/v4l-dvb-apis-new/uapi/v4l/yuv-formats.html say that TM12 is V4L2_PIX_FMT_NV12MT not V4L2_PIX_FMT_NV12MT_16X16. I think the right format is set. OK, it seems that the format is correct. HW registers also seems to be programmed correctly. Documentation is not helpful at all, at least for me [1]. The only guess I have is that tile format produced by MFC is different than format accepted by MIXER in regard of chroma. Unfortunately I am too busy now to investigate it deeper. Maybe next week I will be able to consult it with sbd more competent in the subject. [1]: https://usermanual.wiki/Document/SECExynos4412Users20ManualVer10000.544818918.pdf -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/misc/issues/4. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.