blob: 76ff628a122039944907d8f9c0c6faf683d9c5c8 [file] [log] [blame]
Thomas Gleixner5e0f8ad2019-05-20 19:07:52 +02001/* SPDX-License-Identifier: GPL-2.0-or-later */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
Thomas Winischhofer544393f2005-09-09 13:04:45 -07003 * sisfb.h - definitions for the SiS framebuffer driver
4 *
5 * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria.
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 */
Thomas Winischhofer544393f2005-09-09 13:04:45 -07007#ifndef _LINUX_SISFB_H_
8#define _LINUX_SISFB_H_
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
Thomas Winischhofer544393f2005-09-09 13:04:45 -070010
11#include <linux/pci.h>
David Howellsb889fcf2012-12-20 17:14:26 +000012#include <uapi/video/sisfb.h>
Thomas Winischhofer544393f2005-09-09 13:04:45 -070013
Linus Torvalds1da177e2005-04-16 15:20:36 -070014#define UNKNOWN_VGA 0
15#define SIS_300_VGA 1
16#define SIS_315_VGA 2
17
Thomas Winischhofer544393f2005-09-09 13:04:45 -070018#define SISFB_HAVE_MALLOC_NEW
Linus Torvalds1da177e2005-04-16 15:20:36 -070019extern void sis_malloc(struct sis_memreq *req);
Thomas Winischhofer544393f2005-09-09 13:04:45 -070020extern void sis_malloc_new(struct pci_dev *pdev, struct sis_memreq *req);
21
Linus Torvalds1da177e2005-04-16 15:20:36 -070022extern void sis_free(u32 base);
Thomas Winischhofer544393f2005-09-09 13:04:45 -070023extern void sis_free_new(struct pci_dev *pdev, u32 base);
Linus Torvalds1da177e2005-04-16 15:20:36 -070024#endif