1
0
Fork 0
android_external_drm_hwcomp.../stats/DisplayRefreshRatesChangedAtomReporter.cpp
Su Hong Koo 680790982c Add atom reporting for refresh rate changes
Add DisplayRefreshRatesChangedAtomReporter, which reports the changed
refresh rates of all the active displays managed by drm_hwcomposer.

Change-Id: I03a81c667c44160dc319a899a3bd9a8bc527a382
2025-11-12 12:31:12 -05:00

31 lines
967 B
C++

/*
* Copyright (C) 2025 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#define LOG_TAG "drmhwc"
#include "DisplayRefreshRatesChangedAtomReporter.h"
#include "utils/log.h"
namespace android::drm_hwcomposer {
std::unique_ptr<DisplayRefreshRatesChangedAtomReporter>
DisplayRefreshRatesChangedAtomReporter::Create() {
ALOGI("Atom reporting is not enabled.");
return {};
}
} // namespace android::drm_hwcomposer