summaryrefslogtreecommitdiff
path: root/drmcrtc.h
AgeCommit message (Collapse)Author
2017-11-30drm_hwcomposer: fix warnings on unused variables and parametersRob Herring
AOSP master now builds by default with -Werror, so fix all the warnings. All the warnings are related to unused variables and parameters. Reviewed-by: Robert Foss <robert.foss@collabora.com> Signed-off-by: Rob Herring <robh@kernel.org>
2017-09-28drm_hwcomposer: Add FENCE_OUT_PTR property to DrmCrtcRobert Foss
Add support for handling the FENCE_OUT_PTR property to DrmCrtc Signed-off-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Sean Paul <seanpaul@chromium.org>
2015-10-29drm_hwcomposer: polish for old DRM wrapper codeZach Reizner
- deleted private copy constructors - replace delete with unique_ptr - use in-class assignment - remove default constructors/destructors when no longer needed - remove most iterators used in for loops - move UniqueFd to its own header so drmresources can use it Change-Id: Ib20cc0949cf4d381a58548b8156c5cb368ca3efe
2015-06-15drm_hwcomposer: Use atomic modeset to set crtc timingSean Paul
Use the new drm blob ioctl and atomic modeset properties to do atomic modesetting, as opposed to the old setCrtc call. This allows us to set timing as soon as the system layer requests a new active config, as opposed to delaying it until we have an fb. Aside from reducing complexity, this should help with event control requests as we'll be able to service them with hw vblanks instead of synthesized sleeps. Change-Id: I9c80d44f52f52881a3a25b2ae518973d468bc110 Signed-off-by: Sean Paul <seanpaul@chromium.org>
2015-06-04drm_hwcomposer: Fix case on DrmCrtc mode_valid_ member variableSean Paul
Change-Id: If2a431a4a18ea7908654a4a92a4a6acca8ed92d1 Signed-off-by: Sean Paul <seanpaul@chromium.org>
2015-05-11drm_hwcomposer: Wrap libdrm ops (minus modeset/flip) in C++ classesSean Paul
This allows us to compartmentalize a bunch of code/logic from hwcomposer.cpp into drm classes. Signed-off-by: Sean Paul <seanpaul@chromium.org> Change-Id: Id3f912126f1fdcd44d32c3eb4fba646f77590278