blob: 1e0e1ec28a3d0479649d15c1272b2c1c89769aca [file] [log] [blame]
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_GRAPHICS_DISPLAY_DRIVERS_INTEL_I915_DDI_H_
#define SRC_GRAPHICS_DISPLAY_DRIVERS_INTEL_I915_DDI_H_
#include <lib/stdcompat/span.h>
#include <array>
#include "src/graphics/display/drivers/intel-i915/registers-ddi.h"
namespace i915 {
// Get the list of DDIs supported by the device of |device_id|.
cpp20::span<const DdiId> GetDdiIds(uint16_t device_id);
} // namespace i915
#endif // SRC_GRAPHICS_DISPLAY_DRIVERS_INTEL_I915_DDI_H_