From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 104441] New: drm/nouveau: drm_hwcomposer cannot get
rotation property/does not work
Date: Mon, 01 Jan 2018 23:45:51 +0000
Message-ID:
Bug ID
104441
Summary
drm/nouveau: drm_hwcomposer cannot get rotation property/does=
not work
Product
xorg
Version
unspecified
Hardware
Other
OS
All
Status
NEW
Severity
normal
Priority
medium
Component
Driver/nouveau
Assignee
nouveau@lists.freedesktop.org
Reporter
issor.oruam@gmail.com
QA Contact
xorg-team@lists.x.org
Created attachment 136=
475 [details]
logcat showing hwc errors
Hi,
while testing drm_hwcomposer (hwc v1),
having enabled atomic ioctl for drm/nouveau a series of properties can be
enquired, but rotation property returns an error in drmplane.cpp:123
01-02 00:05:42.626 2300 2300 E hwc-drm-plane: Could not get rotation prop=
erty
01-02 00:05:42.626 2300 2300 I hwc-drm-plane: Could not get alpha property
Since ALOGE() is used, an error is signalled,
could you please check why rotation property not available and why
drm_hwcomposer is not working with drm/nouveau?
01-02 00:05:42.628 2300 2300 E hwc-drm-resources: Could not find a suitab=
le
encoder/crtc for display 2
01-02 00:05:42.628 2300 2300 E hwc-drm-resources: Failed CreateDisplayPip=
e 49
with -19
01-02 00:05:42.628 2300 2300 E hwcomposer-drm: Can't initialize Drm object
-19
01-02 00:05:42.629 2300 2300 E SurfaceFlinger: composer device failed to
initialize (No such device)
01-02 00:05:42.629 2300 2300 E SurfaceFlinger: ERROR: failed to open
framebuffer (Invalid argument), aborting
--------- beginning of crash
01-02 00:05:42.629 2300 2300 F libc : Fatal signal 6 (SIGABRT), code -=
6 in
tid 2300 (surfaceflinger), pid 2300 (surfaceflinger)
Another question is about alpha property,
is it correct/safe to assume that being only logged as info, with ALOGI()
it is not preventing drm_hwcomposer from working properly?
Full logcat attached
Mauro