// SPDX-License-Identifier: GPL-2.0-or-later /* * Geode GX display controller. * * Copyright (C) 2005 Arcom Control Systems Ltd. * * Portions from AMD's original 2.4 driver: * Copyright (C) 2004 Advanced Micro Devices, Inc. */ #include <linux/spinlock.h> #include <linux/fb.h> #include <linux/delay.h> #include <asm/io.h> #include <asm/div64.h> #include <asm/delay.h> #include <linux/cs5535.h> #include "gxfb.h" unsigned int gx_frame_buffer_size(void) { … } int gx_line_delta(int xres, int bpp) { … } void gx_set_mode(struct fb_info *info) { … } void gx_set_hw_palette_reg(struct fb_info *info, unsigned regno, unsigned red, unsigned green, unsigned blue) { … }