display: hardware recovery
Implements HW Recovery feature. If hw enters an unstable state due
to lack of validation, userspace bugs, driver bugs, or hw programming
error, driver attempts to recover the hardware and informs userspace to
capture register dumps on-target. In extreme case, driver will request a power reset.
Change-Id: Id0069696433b8cb49f67b6d2f37eb2d05f8e5953
CRs-Fixed: 2196904
diff --git a/sdm/include/utils/constants.h b/sdm/include/utils/constants.h
index 5efe357..ffa8d12 100644
--- a/sdm/include/utils/constants.h
+++ b/sdm/include/utils/constants.h
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2014 - 2017, The Linux Foundation. All rights reserved.
+* Copyright (c) 2014 - 2018, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
@@ -32,6 +32,10 @@
#define PRIu64 "llu"
#endif
+#ifndef PRIu32
+#define PRIu32 "lu"
+#endif
+
#define INT(exp) static_cast<int>(exp)
#define FLOAT(exp) static_cast<float>(exp)
#define UINT8(exp) static_cast<uint8_t>(exp)