blob: cb44b15f9b2f794b9cffbdaa8f6f4d770f430530 [file] [log] [blame]
* PS3 AV settings.
* Copyright (C) 2006 Sony Computer Entertainment Inc.
* Copyright 2006 Sony Corp.
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* As a special exception, you may use this file as part of a free software
* library without restriction. Specifically, if other files instantiate
* templates or use macros or inline functions from this file, or you compile
* this file and link it with other files to produce an executable, this
* file does not by itself cause the resulting executable to be covered by
* the GNU General Public License. This exception does not however
* invalidate any other reasons why the executable file might be covered by
* the GNU General Public License.
#if !defined(_B9AAF29B_E200_4804_82F1_A8EAC824F1F5_H)
#define _B9AAF29B_E200_4804_82F1_A8EAC824F1F5_H
#if defined(HAVE_ASM_PS3AV_H)
#include <asm/ps3av.h>
#define PS3AV_MODE_MASK 0x000F
#define PS3AV_MODE_RGB 0x0020
#define PS3AV_MODE_FULL 0x0080
#define PS3AV_MODE_WHITE 0x0200
#define PS3AV_MODE_COLOR 0x0400
#define PS3AV_MODE_DITHER 0x0800
#define PS3AV_MODE_HDCP_OFF 0x1000 /* Retail PS3 doesn't support this */
#define PS3FB_IOCTL_SETMODE _IOW('r', 1, int)
#define PS3FB_IOCTL_GETMODE _IOR('r', 2, int)