Home
last modified time | relevance | path

Searched refs:afbdev (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/ast/
Dast_fb.c46 static void ast_dirty_update(struct ast_fbdev *afbdev, in ast_dirty_update() argument
53 int bpp = (afbdev->afb.base.bits_per_pixel + 7)/8; in ast_dirty_update()
60 obj = afbdev->afb.obj; in ast_dirty_update()
79 spin_lock_irqsave(&afbdev->dirty_lock, flags); in ast_dirty_update()
81 if (afbdev->y1 < y) in ast_dirty_update()
82 y = afbdev->y1; in ast_dirty_update()
83 if (afbdev->y2 > y2) in ast_dirty_update()
84 y2 = afbdev->y2; in ast_dirty_update()
85 if (afbdev->x1 < x) in ast_dirty_update()
86 x = afbdev->x1; in ast_dirty_update()
[all …]
/drivers/gpu/drm/cirrus/
Dcirrus_fbdev.c20 static void cirrus_dirty_update(struct cirrus_fbdev *afbdev, in cirrus_dirty_update() argument
27 int bpp = (afbdev->gfb.base.bits_per_pixel + 7)/8; in cirrus_dirty_update()
34 obj = afbdev->gfb.obj; in cirrus_dirty_update()
52 spin_lock_irqsave(&afbdev->dirty_lock, flags); in cirrus_dirty_update()
54 if (afbdev->y1 < y) in cirrus_dirty_update()
55 y = afbdev->y1; in cirrus_dirty_update()
56 if (afbdev->y2 > y2) in cirrus_dirty_update()
57 y2 = afbdev->y2; in cirrus_dirty_update()
58 if (afbdev->x1 < x) in cirrus_dirty_update()
59 x = afbdev->x1; in cirrus_dirty_update()
[all …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fb.c409 struct amdgpu_fbdev *afbdev = adev->mode_info.rfbdev; in amdgpu_fbdev_restore_mode() local
413 if (!afbdev) in amdgpu_fbdev_restore_mode()
416 fb_helper = &afbdev->helper; in amdgpu_fbdev_restore_mode()
/drivers/gpu/drm/mgag200/
Dmgag200_fb.c140 static int mgag200fb_create_object(struct mga_fbdev *afbdev, in mgag200fb_create_object() argument
144 struct drm_device *dev = afbdev->helper.dev; in mgag200fb_create_object()