1 /* 2 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #ifndef HDF_DRM_PANEL_H 10 #define HDF_DRM_PANEL_H 11 #include <drm/drm_mipi_dsi.h> 12 #include <drm/drm_modes.h> 13 #include <drm/drm_panel.h> 14 #include "hdf_disp.h" 15 16 struct HdfDrmPanel { 17 struct drm_panel panel; 18 struct DispManager *manager; 19 struct drm_display_mode mode; 20 struct mipi_dsi_device *dsiDev; 21 uint32_t index; 22 }; 23 24 #endif /* HDF_DRM_PANEL_H */ 25 26