1. 22 Jan, 2022 3 commits
  2. 04 May, 2019 1 commit
  3. 08 Dec, 2018 3 commits
  4. 29 Nov, 2018 3 commits
  5. 26 Nov, 2018 4 commits
  6. 25 Nov, 2018 1 commit
  7. 21 Nov, 2018 1 commit
    • Mikulas Patocka's avatar
      mga_drv: fix image corruption due to memcpy reordering · a939aa56
      Mikulas Patocka authored and Kevin Brace's avatar Kevin Brace committed
      
      
      The memcpy specification doesn't specify how the destination is written -
      and on glibc 2.19 memcpy is doing some bytewise writes with the rep stosb
      instruction. These bytewise writes confuse the hardware (because it
      expects 32-bit writes) and result in image corruption.
      
      This patch replaces memcpy with explicit writes, so that the sequential
      write order and 32-bit write size is guaranteed. We use the "volatile"
      attribute to make sure that compiler optimizations won't cause write
      reordering. When reading the memory, we use a structure with "packed"
      attribute to avoid unaligned traps on RISC machines.
      Tested-by: Kevin Brace's avatarKevin Brace <kevinbrace@gmx.com>
      Signed-off-by: default avatarMikulas Patocka <mikulas@twibright.com>
      a939aa56
  8. 18 Nov, 2018 1 commit
  9. 25 Mar, 2018 1 commit
  10. 20 Feb, 2018 4 commits
  11. 17 Jul, 2017 1 commit
    • Emil Velikov's avatar
      xf86-video-mga: remove the GlxSetVisualConfigs stub and friends · 29988689
      Emil Velikov authored and Emil Velikov's avatar Emil Velikov committed
      
      
      The function was an empty since 2008 at least. Remove it alongside the
      unused GLX visuals code.
      
      With this all the GL/GLX dependencies in the driver are gone.
      
      Cc: Mathieu Larouche <mathieu.larouche@matrox.com>
      Cc: Dave Airlie <airlied@redhat.com>
      Signed-off-by: Emil Velikov's avatarEmil Velikov <emil.velikov@collabora.com>
      ---
      There's a GLX reference in mga_ucode.h - a file which was seemingly
      never used since day 1. I'm not going to bother with that, since I've
      taken enough of a diversion already ;-)
      29988689
  12. 20 Jun, 2017 1 commit
  13. 14 Feb, 2017 1 commit
  14. 26 Jan, 2017 5 commits
  15. 17 Jan, 2017 1 commit
  16. 27 Jul, 2016 2 commits
  17. 19 Jul, 2016 1 commit
  18. 17 Sep, 2015 1 commit
  19. 24 Aug, 2015 2 commits
  20. 01 Jul, 2015 2 commits
  21. 19 Feb, 2015 1 commit