blob: 03859f441d4bbf8cb7b2780e487db730301aae1d [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 "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 registers::Ddi> GetDdis(uint16_t device_id);
} // namespace i915
#endif // SRC_GRAPHICS_DISPLAY_DRIVERS_INTEL_I915_DDI_H_