|
@@ -81,27 +81,27 @@ MODULE_DEVICE_TABLE(pci, pciidlist);
|
|
|
*/
|
|
|
|
|
|
#define DRM_IOCTL_PSB_ADB \
|
|
|
- DRM_IOWR(DRM_PSB_ADB + DRM_COMMAND_BASE, uint32_t)
|
|
|
+ DRM_IOWR(DRM_GMA_ADB + DRM_COMMAND_BASE, uint32_t)
|
|
|
#define DRM_IOCTL_PSB_MODE_OPERATION \
|
|
|
- DRM_IOWR(DRM_PSB_MODE_OPERATION + DRM_COMMAND_BASE, \
|
|
|
+ DRM_IOWR(DRM_GMA_MODE_OPERATION + DRM_COMMAND_BASE, \
|
|
|
struct drm_psb_mode_operation_arg)
|
|
|
#define DRM_IOCTL_PSB_STOLEN_MEMORY \
|
|
|
- DRM_IOWR(DRM_PSB_STOLEN_MEMORY + DRM_COMMAND_BASE, \
|
|
|
+ DRM_IOWR(DRM_GMA_STOLEN_MEMORY + DRM_COMMAND_BASE, \
|
|
|
struct drm_psb_stolen_memory_arg)
|
|
|
#define DRM_IOCTL_PSB_GAMMA \
|
|
|
- DRM_IOWR(DRM_PSB_GAMMA + DRM_COMMAND_BASE, \
|
|
|
+ DRM_IOWR(DRM_GMA_GAMMA + DRM_COMMAND_BASE, \
|
|
|
struct drm_psb_dpst_lut_arg)
|
|
|
#define DRM_IOCTL_PSB_DPST_BL \
|
|
|
- DRM_IOWR(DRM_PSB_DPST_BL + DRM_COMMAND_BASE, \
|
|
|
+ DRM_IOWR(DRM_GMA_DPST_BL + DRM_COMMAND_BASE, \
|
|
|
uint32_t)
|
|
|
#define DRM_IOCTL_PSB_GET_PIPE_FROM_CRTC_ID \
|
|
|
- DRM_IOWR(DRM_PSB_GET_PIPE_FROM_CRTC_ID + DRM_COMMAND_BASE, \
|
|
|
+ DRM_IOWR(DRM_GMA_GET_PIPE_FROM_CRTC_ID + DRM_COMMAND_BASE, \
|
|
|
struct drm_psb_get_pipe_from_crtc_id_arg)
|
|
|
#define DRM_IOCTL_PSB_GEM_CREATE \
|
|
|
- DRM_IOWR(DRM_PSB_GEM_CREATE + DRM_COMMAND_BASE, \
|
|
|
+ DRM_IOWR(DRM_GMA_GEM_CREATE + DRM_COMMAND_BASE, \
|
|
|
struct drm_psb_gem_create)
|
|
|
#define DRM_IOCTL_PSB_GEM_MMAP \
|
|
|
- DRM_IOWR(DRM_PSB_GEM_MMAP + DRM_COMMAND_BASE, \
|
|
|
+ DRM_IOWR(DRM_GMA_GEM_MMAP + DRM_COMMAND_BASE, \
|
|
|
struct drm_psb_gem_mmap)
|
|
|
|
|
|
static int psb_adb_ioctl(struct drm_device *dev, void *data,
|