qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 64f160: sm501: Fixed code style and a few typ


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 64f160: sm501: Fixed code style and a few typos in comment...
Date: Mon, 24 Apr 2017 05:08:29 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 64f1603b07a87f4e5629668a5551fe9db4126aa4
      
https://github.com/qemu/qemu/commit/64f1603b07a87f4e5629668a5551fe9db4126aa4
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M hw/display/sm501.c
    M hw/display/sm501_template.h

  Log Message:
  -----------
  sm501: Fixed code style and a few typos in comments

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: e2ee84760e8af52f085b95f562d850b8eb739072
      
https://github.com/qemu/qemu/commit/e2ee84760e8af52f085b95f562d850b8eb739072
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M hw/display/sm501.c
    M hw/display/sm501_template.h

  Log Message:
  -----------
  sm501: Use defined constants instead of literal values where available

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 70e46ca8872b26b6b3233dc0e978007ce45b4c9e
      
https://github.com/qemu/qemu/commit/70e46ca8872b26b6b3233dc0e978007ce45b4c9e
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M hw/display/sm501.c

  Log Message:
  -----------
  sm501: Add missing arbitration control register

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: ca8a1104708b0c8775d5f9daf8ea9de92d277574
      
https://github.com/qemu/qemu/commit/ca8a1104708b0c8775d5f9daf8ea9de92d277574
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M hw/display/sm501.c
    M hw/sh4/r2d.c
    M include/hw/devices.h

  Log Message:
  -----------
  sm501: QOMify

Adding vmstate saving is not in this patch because the state structure
will be changed in further patches, then another patch will add
vmstate descriptor after those changes.

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: c795fa8447ba9d4133bd8be84341151f8dc3f077
      
https://github.com/qemu/qemu/commit/c795fa8447ba9d4133bd8be84341151f8dc3f077
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M hw/display/sm501.c
    M hw/display/sm501_template.h

  Log Message:
  -----------
  sm501: Get rid of base address in draw_hwc_line

Do not use the base address to access data in local memory. This is in
preparation to allow chip connected via PCI where base address depends
on where the BAR is mapped so it will be unknown.

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: efae27848da0cf5ea5c88f0172c482b8f37b8725
      
https://github.com/qemu/qemu/commit/efae27848da0cf5ea5c88f0172c482b8f37b8725
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M hw/display/sm501.c
    M include/hw/pci/pci_ids.h

  Log Message:
  -----------
  sm501: Add emulation of chip connected via PCI

Only the display controller part is created automatically on PCI

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: afef2e1d537dce002f15ab12d85e99baaa7b6651
      
https://github.com/qemu/qemu/commit/afef2e1d537dce002f15ab12d85e99baaa7b6651
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M hw/display/sm501.c
    M hw/display/sm501_template.h

  Log Message:
  -----------
  sm501: Fix device endianness

We only emulate the sysbus device in its default LE mode and PCI is LE
as well so specify this for registers and framebuffer memory.

Note that though the Linux kernel driver has code which claims to
handle both big and little endian, it is obviously bogus for 16 bit
and cannot be trusted as a source of information on the framebuffer
pixel format. This is our best guess about device behaviour based on
the specs and testing with MorphOS that is known to work on real HW.

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 6a2a5aae02b9a0b53807b9ad91f15cd4988781f9
      
https://github.com/qemu/qemu/commit/6a2a5aae02b9a0b53807b9ad91f15cd4988781f9
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M hw/display/sm501.c
    M hw/display/sm501_template.h

  Log Message:
  -----------
  sm501: Fix hardware cursor

Rework HWC handling to simplify it and fix cursor not updating on
screen as needed. Previously cursor was not updated because checking
for changes in a line overrode the update flag set for the cursor but
fixing this is not enough because the cursor should also be updated if
its shape or location changes. Introduce hwc_invalidate() function to
handle that similar to other display controller models.

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 01d2d584c9e1d051892de115ab20787da62baf6a
      
https://github.com/qemu/qemu/commit/01d2d584c9e1d051892de115ab20787da62baf6a
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M hw/display/sm501.c
    M hw/display/sm501_template.h

  Log Message:
  -----------
  sm501: Misc clean ups

- Rename a variable
- Move variable declarations out of loop to the beginning in draw_hwc_line

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 1ae5e6eb42708b8ac00ba85bbbb5e2330dcf7099
      
https://github.com/qemu/qemu/commit/1ae5e6eb42708b8ac00ba85bbbb5e2330dcf7099
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M hw/display/sm501.c

  Log Message:
  -----------
  sm501: Add support for panel layer

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: b612a49db2300e460d845d7517031517acec1c2c
      
https://github.com/qemu/qemu/commit/b612a49db2300e460d845d7517031517acec1c2c
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M hw/display/sm501.c

  Log Message:
  -----------
  sm501: Add some more missing registers

This is to allow clients to initialise these without failing as long
as no 2D engine function is called that would use the written value.
Saved values are not used yet (may get used when more of 2D engine is
added sometimes) and clients normally only write to most of these
registers, nothing is known to ever read them but they are documented
as read/write so also implement read for these.

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 2edd6e4ac5d5254e326a0e789e7ace5df268e6f4
      
https://github.com/qemu/qemu/commit/2edd6e4ac5d5254e326a0e789e7ace5df268e6f4
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M hw/display/sm501.c

  Log Message:
  -----------
  sm501: Add vmstate descriptor

Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 9eb2575e6c2cb902db88eb5539c66d32a30a94cf
      
https://github.com/qemu/qemu/commit/9eb2575e6c2cb902db88eb5539c66d32a30a94cf
  Author: BALATON Zoltan <address@hidden>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M default-configs/ppc-softmmu.mak
    M default-configs/ppc64-softmmu.mak
    M default-configs/ppcemb-softmmu.mak

  Log Message:
  -----------
  ppc: Add SM501 device in ppc softmmu targets default configs

This is not used by default on any emulated machine yet but it is
still useful to have it compiled so it can be added from the command
line for clients that can use it (e.g. MorphOS has no driver for any
other emulated video cards but can output via SM501)

Signed-off-by: BALATON Zoltan <address@hidden>
Acked-by: David Gibson <address@hidden>
Tested-by: Aurelien Jarno <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/d526e5d87477...9eb2575e6c2c

reply via email to

[Prev in Thread] Current Thread [Next in Thread]