linux/drivers/gpu/drm/radeon/avivod.h

/*
 * Copyright 2009 Advanced Micro Devices, Inc.
 * Copyright 2009 Red Hat Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 *
 * Authors: Dave Airlie
 *          Alex Deucher
 *          Jerome Glisse
 */
#ifndef AVIVOD_H
#define AVIVOD_H


#define D1CRTC_CONTROL
#define CRTC_EN
#define D1CRTC_STATUS
#define D1CRTC_UPDATE_LOCK
#define D1GRPH_PRIMARY_SURFACE_ADDRESS
#define D1GRPH_SECONDARY_SURFACE_ADDRESS

#define D2CRTC_CONTROL
#define D2CRTC_STATUS
#define D2CRTC_UPDATE_LOCK
#define D2GRPH_PRIMARY_SURFACE_ADDRESS
#define D2GRPH_SECONDARY_SURFACE_ADDRESS

#define D1VGA_CONTROL
#define DVGA_CONTROL_MODE_ENABLE
#define DVGA_CONTROL_TIMING_SELECT
#define DVGA_CONTROL_SYNC_POLARITY_SELECT
#define DVGA_CONTROL_OVERSCAN_TIMING_SELECT
#define DVGA_CONTROL_OVERSCAN_COLOR_EN
#define DVGA_CONTROL_ROTATE
#define D2VGA_CONTROL

#define VGA_HDP_CONTROL
#define VGA_MEM_PAGE_SELECT_EN
#define VGA_MEMORY_DISABLE
#define VGA_RBBM_LOCK_DISABLE
#define VGA_SOFT_RESET
#define VGA_MEMORY_BASE_ADDRESS
#define VGA_RENDER_CONTROL
#define VGA_VSTATUS_CNTL_MASK

#endif