mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 00:10:58 +08:00
Change-Id: I1419231a721fab210e166d26a264cae04d661dcd Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com> Signed-off-by: macabral <matias.a.cabral@intel.com> Signed-off-by: davidoli <david.olien@intel.com> Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com> Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com> Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com> Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
27 lines
523 B
C++
27 lines
523 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "level_zero/tools/source/sysman/os_sysman.h"
|
|
#include <level_zero/zes_api.h>
|
|
|
|
namespace L0 {
|
|
|
|
class OsStandby {
|
|
public:
|
|
virtual ze_result_t getMode(zes_standby_promo_mode_t &mode) = 0;
|
|
virtual ze_result_t setMode(zes_standby_promo_mode_t mode) = 0;
|
|
|
|
virtual bool isStandbySupported(void) = 0;
|
|
|
|
static OsStandby *create(OsSysman *pOsSysman);
|
|
virtual ~OsStandby() {}
|
|
};
|
|
|
|
} // namespace L0
|