linux/drivers/gpu/drm/nouveau/include/nvhw/class/cl0039.h

/*
 * Copyright (c) 2001-2001, NVIDIA CORPORATION. All rights reserved.
 *
 * 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 AUTHORS OR COPYRIGHT HOLDERS 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.
 */

#ifndef _cl0039_h_
#define _cl0039_h_

/* dma method offsets, fields, and values */
#define NV039_SET_OBJECT
#define NV039_NO_OPERATION
#define NV039_SET_CONTEXT_DMA_NOTIFIES
#define NV039_SET_CONTEXT_DMA_BUFFER_IN
#define NV039_SET_CONTEXT_DMA_BUFFER_OUT

#define NV039_OFFSET_IN
#define NV039_OFFSET_OUT
#define NV039_PITCH_IN
#define NV039_PITCH_OUT
#define NV039_LINE_LENGTH_IN
#define NV039_LINE_COUNT
#define NV039_FORMAT
#define NV039_FORMAT_IN
#define NV039_FORMAT_OUT
#define NV039_BUFFER_NOTIFY
#define NV039_BUFFER_NOTIFY_WRITE_ONLY
#define NV039_BUFFER_NOTIFY_WRITE_THEN_AWAKEN
#endif /* _cl0039_h_ */