| 1 |
|
| 2 |
|
| 3 |
#ifndef SOC_INTEL_COMMON_BLOCK_GRAPHICS_H |
| 4 |
#define SOC_INTEL_COMMON_BLOCK_GRAPHICS_H |
| 5 |
|
| 6 |
#include <device/device.h> |
| 7 |
#include <stdint.h> |
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
void graphics_soc_panel_init(struct device *dev); |
| 21 |
|
| 22 |
|
| 23 |
const struct i915_gpu_controller_info * |
| 24 |
intel_igd_get_controller_info(const struct device *device); |
| 25 |
|
| 26 |
|
| 27 |
uint32_t graphics_gtt_read(unsigned long reg); |
| 28 |
void graphics_gtt_write(unsigned long reg, uint32_t data); |
| 29 |
void graphics_gtt_rmw(unsigned long reg, uint32_t andmask, uint32_t ormask); |
| 30 |
uintptr_t graphics_get_framebuffer_address(void); |
| 31 |
|
| 32 |
#endif |