| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2008 Andres Salomon <dilinger@debian.org> |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Geode GX2 header information |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 9 | | - * (at your option) any later version. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | #ifndef _GXFB_H_ |
|---|
| 12 | 8 | #define _GXFB_H_ |
|---|
| .. | .. |
|---|
| 25 | 21 | void __iomem *dc_regs; |
|---|
| 26 | 22 | void __iomem *vid_regs; |
|---|
| 27 | 23 | void __iomem *gp_regs; |
|---|
| 28 | | -#ifdef CONFIG_PM |
|---|
| 29 | 24 | int powered_down; |
|---|
| 30 | 25 | |
|---|
| 31 | 26 | /* register state, for power management functionality */ |
|---|
| .. | .. |
|---|
| 40 | 35 | uint64_t fp[FP_REG_COUNT]; |
|---|
| 41 | 36 | |
|---|
| 42 | 37 | uint32_t pal[DC_PAL_COUNT]; |
|---|
| 43 | | -#endif |
|---|
| 44 | 38 | }; |
|---|
| 45 | 39 | |
|---|
| 46 | 40 | unsigned int gx_frame_buffer_size(void); |
|---|
| .. | .. |
|---|
| 53 | 47 | void gx_configure_display(struct fb_info *info); |
|---|
| 54 | 48 | int gx_blank_display(struct fb_info *info, int blank_mode); |
|---|
| 55 | 49 | |
|---|
| 56 | | -#ifdef CONFIG_PM |
|---|
| 57 | 50 | int gx_powerdown(struct fb_info *info); |
|---|
| 58 | 51 | int gx_powerup(struct fb_info *info); |
|---|
| 59 | | -#endif |
|---|
| 60 | | - |
|---|
| 61 | 52 | |
|---|
| 62 | 53 | /* Graphics Processor registers (table 6-23 from the data book) */ |
|---|
| 63 | 54 | enum gp_registers { |
|---|