Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
accel_2d.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/tty.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/console.h>
#include <drm/drmP.h>
#include <drm/drm.h>
#include <drm/drm_crtc.h>
#include "psb_drv.h"
#include "psb_reg.h"
#include "framebuffer.h"

Go to the source code of this file.


void psb_spank (struct drm_psb_private *dev_priv)
void psbfb_copyarea (struct fb_info *info, const struct fb_copyarea *region)
int psbfb_sync (struct fb_info *info)

Function Documentation

void psb_spank ( struct drm_psb_private dev_priv)

psb_spank - reset the 2D engine : our PSB DRM device

Soft reset the graphics engine and then reload the necessary registers. We use this at initialisation time but it will become relevant for accelerated X later

Definition at line 51 of file accel_2d.c.

void psbfb_copyarea ( struct fb_info info,
const struct fb_copyarea region 

psbfb_copyarea - 2D copy interface : our framebuffer : region to copy

Copy an area of the framebuffer console either by the accelerator or directly using the cfb helpers according to the request

Definition at line 302 of file accel_2d.c.

int psbfb_sync ( struct fb_info info)

psbfb_sync - synchronize 2D : our framebuffer

Wait for the 2D engine to quiesce so that we can do CPU access to the framebuffer again

Definition at line 323 of file accel_2d.c.