History log of /external/drm_hwcomposer/drmmode.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ff30b52303cdbeb9cbfb054e2a12da1135ea49c9 29-Oct-2015 Zach Reizner <zachr@google.com> drm_hwcomposer: polish for old DRM wrapper code

- 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
/external/drm_hwcomposer/drmmode.h
ad563d42f18fd4f8f99f489fa1b15fd709450025 28-Oct-2015 Sean Paul <seanpaul@chromium.org> drm_hwcomposer: Use mode vrefresh if provided

Instead of always calculating the vrefresh from clock + resolution,
use vrefresh from the mode if its provided.

Bug: 25319209
Test: Tested on smaug, refresh reports 60Hz

Change-Id: I963ccb153d1856f5e45e4a1aa6fbd20b105d4a84
Signed-off-by: Sean Paul <seanpaul@chromium.org>
/external/drm_hwcomposer/drmmode.h
b74e08cc80325883bf4561e11cec0e83f0863728 05-Jul-2015 Stéphane Marchesin <marcheu@chromium.org> drm_hwcomposer: Convert v_refresh() to float

We convert v_refresh() to return a float and instead of storing it,
compute it on the fly from the pixel clock + htotal/vtotal. This makes
the synthetic vblank computation much more accurate.

Change-Id: I2a0becf75eaca8ace30d176fdc813f3b57ba23a5
/external/drm_hwcomposer/drmmode.h
877be974a2d4fc518700be8ffe803a50cb716ead 03-Jun-2015 Sean Paul <seanpaul@chromium.org> drm_hwcomposer: Use atomic modeset to set crtc timing

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>
/external/drm_hwcomposer/drmmode.h
6a55e9fb8e16c63c2e42bde31814f963205f722d 30-Apr-2015 Sean Paul <seanpaul@chromium.org> drm_hwcomposer: Wrap libdrm ops (minus modeset/flip) in C++ classes

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
/external/drm_hwcomposer/drmmode.h