OSDN Git Service

android-x86/external-drm_gralloc.git
11 years agoallow to force graphics mode ics-x86
Somebody [Fri, 29 Mar 2013 05:10:14 +0000 (13:10 +0800)]
allow to force graphics mode

This patch adds in a system property "debug.drm.mode.force", which works
*similarly* to "debug.drm.mode". XRESxYRES[@REFRESHRATE].

12 years agoadd support for YUV formats honeycomb-x86
Chia-I Wu [Thu, 27 Oct 2011 10:01:23 +0000 (18:01 +0800)]
add support for YUV formats

12 years agoremove an unnecessary include
Chia-I Wu [Thu, 8 Sep 2011 04:18:53 +0000 (12:18 +0800)]
remove an unnecessary include

12 years agolog connector info
Chia-I Wu [Thu, 8 Sep 2011 04:05:00 +0000 (12:05 +0800)]
log connector info

Log the number of modes available, what the best mode is, and etc.

12 years agoremove outdated BOARD_USES_*
Chia-I Wu [Mon, 29 Aug 2011 06:57:41 +0000 (14:57 +0800)]
remove outdated BOARD_USES_*

12 years agoremove first drm_kms_wait_for_post call
Chia-I Wu [Mon, 29 Aug 2011 06:54:12 +0000 (14:54 +0800)]
remove first drm_kms_wait_for_post call

It always fails without the CRTC being set.

12 years agofix build errors
Chia-I Wu [Mon, 29 Aug 2011 06:52:55 +0000 (14:52 +0800)]
fix build errors

Introduced by the last commit.

12 years agovmwgfx: assorted fixes
Chia-I Wu [Wed, 24 Aug 2011 06:07:06 +0000 (14:07 +0800)]
vmwgfx: assorted fixes

Based on trial and error, we know

 - drm_kms_wait_for_post() hangs the VM
 - drmModeDirtyFB() should be called whenever the front buffer changes
 - drmModePageFlip() is not supported

They might not be entirely correct, but fixing them makes drm_gralloc
work.

12 years agoupdate pci_ids
Chia-I Wu [Wed, 24 Aug 2011 06:05:29 +0000 (14:05 +0800)]
update pci_ids

12 years agoradeon: use a table to detect chip family gingerbread-x86
Chia-I Wu [Wed, 10 Aug 2011 09:43:28 +0000 (17:43 +0800)]
radeon: use a table to detect chip family

12 years agodrop the 'c' suffix from i915c/i965c
Chia-I Wu [Wed, 3 Aug 2011 04:35:06 +0000 (13:35 +0900)]
drop the 'c' suffix from i915c/i965c

13 years agorevise gralloc_drm bo interface
Chia-I Wu [Sun, 31 Jul 2011 07:35:21 +0000 (16:35 +0900)]
revise gralloc_drm bo interface

Make it more intuitive to use.

13 years agoadd more functions to gralloc_drm kms interface
Chia-I Wu [Sun, 31 Jul 2011 08:09:11 +0000 (17:09 +0900)]
add more functions to gralloc_drm kms interface

Make it more complete.

13 years agoadd support for debug.drm.mode
Chia-I Wu [Sat, 30 Jul 2011 08:06:31 +0000 (17:06 +0900)]
add support for debug.drm.mode

The mode string is "<xres>x<yres>[@<bpp>]".

13 years agoprotect against NULL handle
Chia-I Wu [Sat, 30 Jul 2011 06:43:48 +0000 (15:43 +0900)]
protect against NULL handle

13 years agomake sure the driver is initialized before registering
Chia-I Wu [Sat, 30 Jul 2011 07:31:24 +0000 (16:31 +0900)]
make sure the driver is initialized before registering

13 years agoallow FB to be mapped
Chia-I Wu [Sat, 30 Jul 2011 07:29:54 +0000 (16:29 +0900)]
allow FB to be mapped

This is useful for testing software renderer with FB.

13 years agomap a bo only when it is locked for CPU access
Chia-I Wu [Fri, 29 Jul 2011 11:43:12 +0000 (20:43 +0900)]
map a bo only when it is locked for CPU access

To match the doc a little better.

13 years agoclose bo on unregister()
Chia-I Wu [Fri, 29 Jul 2011 10:57:04 +0000 (19:57 +0900)]
close bo on unregister()

Not sure if a remote process ever destroys a bo.  But let register()
opens a bo and unregister() closes it.

13 years agoandroid: use BOARD_GPU_DRIVERS
Chia-I Wu [Fri, 22 Jul 2011 05:42:19 +0000 (13:42 +0800)]
android: use BOARD_GPU_DRIVERS

13 years agoradeon: zero the newly allocated bo
Chia-I Wu [Mon, 18 Jul 2011 09:47:28 +0000 (17:47 +0800)]
radeon: zero the newly allocated bo

13 years agoradeon: refactor bo allocation
Chia-I Wu [Mon, 18 Jul 2011 09:43:31 +0000 (17:43 +0800)]
radeon: refactor bo allocation

13 years agoradeon: verbose debug messages on errors
Chia-I Wu [Mon, 18 Jul 2011 05:24:05 +0000 (13:24 +0800)]
radeon: verbose debug messages on errors

13 years agoimprove bo validation a little bit
Chia-I Wu [Fri, 15 Jul 2011 02:46:06 +0000 (10:46 +0800)]
improve bo validation a little bit

13 years agoradeon: enable tiling
Chia-I Wu [Fri, 15 Jul 2011 02:18:58 +0000 (10:18 +0800)]
radeon: enable tiling

13 years agoradeon: detect chip family
Chia-I Wu [Thu, 14 Jul 2011 06:42:30 +0000 (14:42 +0800)]
radeon: detect chip family

This should not change the behavior in any way.

13 years agosupport other drivers in pipe
Chia-I Wu [Sun, 10 Jul 2011 12:17:41 +0000 (20:17 +0800)]
support other drivers in pipe

Tested with r600g.

13 years agolet drivers decide the fb format
Chia-I Wu [Sun, 10 Jul 2011 15:12:26 +0000 (23:12 +0800)]
let drivers decide the fb format

13 years agoadd (untested) copy support to pipe
Chia-I Wu [Mon, 13 Jun 2011 06:34:21 +0000 (14:34 +0800)]
add (untested) copy support to pipe

This is why we love pipe.

13 years agoadd (untested) pipe support
Chia-I Wu [Mon, 13 Jun 2011 00:48:44 +0000 (08:48 +0800)]
add (untested) pipe support

13 years agoadd nouveau support
Chia-I Wu [Sun, 12 Jun 2011 10:43:33 +0000 (18:43 +0800)]
add nouveau support

13 years agoinitial commit
Chia-I Wu [Sun, 12 Jun 2011 08:21:30 +0000 (16:21 +0800)]
initial commit