All of lore.kernel.org
 help / color / mirror / Atom feed
* RFC: Removal of some mutexes from the radeon driver
@ 2012-05-11 10:10 Christian König
  2012-05-11 10:10 ` [PATCH 1/5] drm/radeon: remove radeon_fence_create Christian König
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Christian König @ 2012-05-11 10:10 UTC (permalink / raw)
  To: dri-devel

Hi everybody,

well the following patches remove the cs and vram mutex from the radeon driver
and so are something very experimental. The first three just move what I know
to be still critical into the protection of the ring mutex, and the other two
actually remove the mutexs.

Interestingly it still survives a couple of hours running the following script:

while true
do
        for (( x = 10, y = 45, i = 0; $i < 144; i = $i + 1 ))
        do
                glxgears -geometry 100x100+$x+$y > /dev/null 2>&1 &
                x=$(expr $x + 120)
                if [ $x -gt 1920 ]
                then
                        x=10
                        y=$(expr $y + 110)
                fi
        done

        sleep 30

        killall glxgears
done

So the mutexes doesn't seem to protected something so critical and I'm
wondering why we still have them so widely locked.

Cheers,
Christian.

PS: I'm away for the next week or so don't expect any response soon.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-05-14 15:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-11 10:10 RFC: Removal of some mutexes from the radeon driver Christian König
2012-05-11 10:10 ` [PATCH 1/5] drm/radeon: remove radeon_fence_create Christian König
2012-05-11 10:10 ` [PATCH 2/5] drm/radeon: add infrastructure for advanced ring synchronization Christian König
2012-05-11 10:10 ` [PATCH 3/5] drm/radeon: rework ring syncing code Christian König
2012-05-11 10:10 ` [PATCH 4/5] drm/radeon: WIP remove cs_mutex Christian König
2012-05-11 10:10 ` [PATCH 5/5] drm/radeon: WIP remove vmram_mutex Christian König
2012-05-11 14:41   ` Jerome Glisse
2012-05-11 14:44     ` Jerome Glisse
2012-05-11 15:12       ` Christian König
2012-05-11 10:12 ` RFC: Removal of some mutexes from the radeon driver Dave Airlie
2012-05-11 11:54   ` Christian König
2012-05-14 15:14     ` Jerome Glisse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.