diff options
Diffstat (limited to 'sdm/libs/utils/debug.cpp')
-rw-r--r-- | sdm/libs/utils/debug.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sdm/libs/utils/debug.cpp b/sdm/libs/utils/debug.cpp index 9e128ba75..4691b08dd 100644 --- a/sdm/libs/utils/debug.cpp +++ b/sdm/libs/utils/debug.cpp @@ -1,5 +1,5 @@ /* -* Copyright (c) 2014 - 2015, The Linux Foundation. All rights reserved. +* Copyright (c) 2014 - 2016, 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 @@ -127,6 +127,13 @@ bool Debug::IsScalarDisabled() { return (value == 1); } +bool Debug::IsFrcEnabled() { + int value = 0; + debug_.debug_handler_->GetProperty("sdm.debug.enable_frc", &value); + + return (value == 1); +} + bool Debug::IsUbwcTiledFrameBuffer() { int ubwc_disabled = 0; int ubwc_framebuffer = 0; |