sdm: drm: Add support for default non-atomic mode

Add support for booting up with default non-atomic mode
Add libdrmutils that currently has:
DRMMaster:
    Creates a master DRM session
    Converts ION handles to DRM FB_ID
DRMResMgr:
    Enables a default display path by providing APIs for
    connector id, crtc id, mode etc

Change-Id: I1dc697d2cc5e3fa744c99e2c9ddd57bf06e78c4f
CRs-fixed: 1114808
This commit is contained in:
Saurabh Shah
2016-06-27 16:40:58 -07:00
parent e37bdceb57
commit 7d476edfb3
47 changed files with 2861 additions and 323 deletions

View File

@@ -36,6 +36,13 @@ float gcd(float a, float b);
float lcm(float a, float b);
void CloseFd(int *fd);
enum class DriverType {
FB = 0,
DRM,
};
DriverType GetDriverType();
} // namespace sdm
#endif // __UTILS_H__