lp://qastaging/~thopiekar/arm-mali/xf86-video-mali-sunxi

Created by Thomas Karl Pietrowski and last modified
Get this branch:
bzr branch lp://qastaging/~thopiekar/arm-mali/xf86-video-mali-sunxi

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Thomas Karl Pietrowski
Project:
ARM Mali drivers
Status:
Development

Import details

Import Status: Suspended

This branch is an import of the HEAD branch of the Git repository at https://github.com/linux-sunxi/xf86-video-mali.git.

Last successful import was .

Import started on juju-eb11dc-stg-qa-launchpad-codeimport-0 and finished taking 5 minutes
Import started on juju-eb11dc-stg-qa-launchpad-codeimport-0 and finished taking 20 seconds — see the log
Import started on juju-eb11dc-stg-qa-launchpad-codeimport-0 and finished taking 15 seconds — see the log
Import started on juju-eb11dc-stg-qa-launchpad-codeimport-0 and finished taking 10 seconds — see the log

Updating branch...

Launchpad is processing new changes to this branch which will be available in a few minutes. Reload to see the changes.

Recent revisions

7. By Hans de Goede <email address hidden>

No need to link against -lMali

The driver does not use any symbols from libMali, so it should have never
been linked in before. Not linking against it allows building a fully FOSS
stack for having a (somewhat) accelerated Xorg.

Note that this patch instead links directly against pixman-1, which was being
picked up indirectly through Mali before.

Signed-off-by: Hans de Goede <email address hidden>

6. By Hans de Goede <email address hidden>

Fix function prototype mismatches and X-server crash on vt switch

When building against Xorg-1.13 I get the following compiler warnings:
mali_fbdev.c: In function 'MaliHWEnterVT':
mali_fbdev.c:662:5: warning: passing argument 1 of 'MaliHWAdjustFrame' from incompatible pointer type [enabled by default]
mali_fbdev.c:615:6: note: expected 'ScreenPtr' but argument is of type 'ScrnInfoPtr'
mali_fbdev.c: In function 'MaliHWSwitchModeWeak':
mali_fbdev.c:722:55: warning: return from incompatible pointer type [enabled by default]
mali_fbdev.c: In function 'MaliHWAdjustFrameWeak':
mali_fbdev.c:723:55: warning: return from incompatible pointer type [enabled by default]
mali_fbdev.c: In function 'MaliHWEnterVTWeak':
mali_fbdev.c:724:55: warning: return from incompatible pointer type [enabled by default]
mali_fbdev.c: In function 'MaliHWLeaveVTWeak':
mali_fbdev.c:725:55: warning: return from incompatible pointer type [enabled by default]
mali_fbdev.c: In function 'MaliHWValidModeWeak':
mali_fbdev.c:726:55: warning: return from incompatible pointer type [enabled by default]
mali_fbdev.c: In function 'MaliProbe':
mali_fbdev.c:746:15: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]

And worse, when I try to switch to another virtual console, Xorg crashes.
This patches:
-Introduces compat-api.h, used by most other Xorg drivers to deal with
 Xorg-1.13 API changes
-Uses this to fix the warnings, also removing a ton of #ifdefs
-As a bonus also fixes the VT switch crash, which was likely caused by
 some function parameters being wrong

Signed-off-by: Hans de Goede <email address hidden>

5. By Dmitriy

Merge pull request #1 from rzk/r3p0-04rel0

1.13+ support.

4. By Dmitriy

xf86-video-mali: disabled umplock and debug by default, ifdef'd umplock include

3. By Dmitriy

added r3p0-04rel0 xf86-video-mali

2. By Dmitriy

added r2p4-02rel1 xf86-video-mali

1. By Dmitriy

Initial commit

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.