1
0
Fork 0
forked from suyu/suyu

nvflinger: Change log message in OpenDisplay to be a debug log instead of a warning

Opening a display isn't really a thing to warn about. It's an expected
thing, so this can be a debug log. This also alters the string to
indicate the display name better.

Opening "Default" display reads a little nicer compared to Opening
display Default.
This commit is contained in:
Lioncash 2019-01-29 14:53:50 -05:00
parent 3d81a8efd5
commit 679e63550a

View file

@ -47,7 +47,7 @@ void NVFlinger::SetNVDrvInstance(std::shared_ptr<Nvidia::Module> instance) {
} }
u64 NVFlinger::OpenDisplay(std::string_view name) { u64 NVFlinger::OpenDisplay(std::string_view name) {
LOG_WARNING(Service, "Opening display {}", name); LOG_DEBUG(Service, "Opening \"{}\" display", name);
// TODO(Subv): Currently we only support the Default display. // TODO(Subv): Currently we only support the Default display.
ASSERT(name == "Default"); ASSERT(name == "Default");