sna: fixed invalid structure type.

git-svn-id: svn://kolibrios.org@5059 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2014-08-25 20:52:50 +00:00
parent 43e5c3605e
commit 9e370ade33
3 changed files with 19 additions and 3 deletions

View File

@ -5667,9 +5667,10 @@ int kgem_init_fb(struct kgem *kgem, struct sna_fb *fb)
if (ret != 0) {
printf("Couldn't reference %s handle 0x%08x\n",
fb->name, fb->name);
return NULL;
return 0;
}
size = open_arg.size / PAGE_SIZE;
size = fb->pitch * fb->height / PAGE_SIZE;
bo = __kgem_bo_alloc(open_arg.handle, size);
if (!bo) {

View File

@ -1084,7 +1084,7 @@ int sna_blit_tex(bitmap_t *bitmap, int scale, int vsync,
{
surface_t *sf = to_surface(bitmap);
struct drm_i915_mask_update update;
struct drm_i915_mask update;
struct sna_composite_op composite;
struct _Pixmap src, dst, mask;

View File

@ -0,0 +1,15 @@
LIBDRM {
global: DllStartup;
DrvInit;
uxa_bitmap_from_handle;
uxa_blit_tex;
sna_create_mask;
uxa_set_bo_handle;
local: __chkstk;
__chkstk_ms;
_alloca;
__uxa_lock;
_nm__tls_alloc;
*;
};