qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 66e2f3: cg3: remove TARGET_PAGE_SIZE rounding


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 66e2f3: cg3: remove TARGET_PAGE_SIZE rounding on dirty pag...
Date: Mon, 24 Apr 2017 02:48:18 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 66e2f304a3af6304a3ba449b708e29fc4d2f6dc2
      
https://github.com/qemu/qemu/commit/66e2f304a3af6304a3ba449b708e29fc4d2f6dc2
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/cg3.c

  Log Message:
  -----------
  cg3: remove TARGET_PAGE_SIZE rounding on dirty page detection

This was an artifact from very early versions of the code from before the
memory API and is no longer needed.

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


  Commit: be4221d993cc15d3a14ca01181818ba5c41d5ab5
      
https://github.com/qemu/qemu/commit/be4221d993cc15d3a14ca01181818ba5c41d5ab5
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/cg3.c

  Log Message:
  -----------
  cg3: fix up size parameter for memory_region_get_dirty()

The code was incorrectly calculating the end address rather than the size of
the required region.

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


  Commit: 8c95e1f20c18007f30bdba6a60e99aea37cc473b
      
https://github.com/qemu/qemu/commit/8c95e1f20c18007f30bdba6a60e99aea37cc473b
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/cg3.c
    M hw/sparc/sun4m.c

  Log Message:
  -----------
  cg3: switch to load_image_mr() and remove prom-addr hack

Previous to the existence of load_image_mr(), the only way to load in the
FCode ROM image was to pass in its physical address via qdev properties
and use load_image_targphys().

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>


  Commit: 9800b3c20e79b4203f08ca13c7c3cb602cda1618
      
https://github.com/qemu/qemu/commit/9800b3c20e79b4203f08ca13c7c3cb602cda1618
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/tcx.c

  Log Message:
  -----------
  tcx: alter tcx_set_dirty() to accept address and length parameters

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


  Commit: 4b865c28099ddd365062f46dd1ad83c03b2468eb
      
https://github.com/qemu/qemu/commit/4b865c28099ddd365062f46dd1ad83c03b2468eb
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/tcx.c

  Log Message:
  -----------
  tcx: ensure tcx_set_dirty() also invalidates the 24-bit plane and cplane

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


  Commit: 427ee02bc9a3b8b5d5cb1066f6100a89eba6b201
      
https://github.com/qemu/qemu/commit/427ee02bc9a3b8b5d5cb1066f6100a89eba6b201
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/tcx.c

  Log Message:
  -----------
  tcx: alter tcx24_check_dirty() to accept address and length parameters

This can now be used by both the 8-bit and 24-bit display code, so rename
to tcx_check_dirty().

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


  Commit: 36180430acfe4b3be80893b0d0a47588a48017f1
      
https://github.com/qemu/qemu/commit/36180430acfe4b3be80893b0d0a47588a48017f1
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/tcx.c

  Log Message:
  -----------
  tcx: alter tcx24_reset_dirty() to accept address and length parameters

This can now be used by both the 8-bit and 24-bit display code, so rename
to tcx_check_dirty().

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


  Commit: 66dcabea477bed6dcaddce499f024b9bb921a598
      
https://github.com/qemu/qemu/commit/66dcabea477bed6dcaddce499f024b9bb921a598
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/tcx.c

  Log Message:
  -----------
  tcx: remove page24 and cpage from tcx24_update_display()

Since all of the tcx_*_dirty() functions now calculate the 24-bit and
cplane offsets themselves from the base address, these variables are no
longer needed.

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


  Commit: 0a97c6c4f938e0be21546f9475b30953b25187f0
      
https://github.com/qemu/qemu/commit/0a97c6c4f938e0be21546f9475b30953b25187f0
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/tcx.c

  Log Message:
  -----------
  tcx: remove TARGET_PAGE_SIZE from tcx_update_display()

Now that page alignment is handled by the memory API, there is no need to
duplicate the code 4 times (4 * 1024 == 4096 == TARGET_PAGE_SIZE).

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


  Commit: d18e101225a83a5fa3a8dd9938a115ca2f06ca83
      
https://github.com/qemu/qemu/commit/d18e101225a83a5fa3a8dd9938a115ca2f06ca83
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/tcx.c

  Log Message:
  -----------
  tcx: remove TARGET_PAGE_SIZE from tcx24_update_display()

Now that page alignment is handled by the memory API, there is no need to
duplicate the code 4 times (4 * 1024 == 4096 == TARGET_PAGE_SIZE).

Finally we have now removed all traces of TARGET_PAGE_SIZE.

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


  Commit: ee72bed08cc05f086ad1424e47f1b06461650381
      
https://github.com/qemu/qemu/commit/ee72bed08cc05f086ad1424e47f1b06461650381
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/tcx.c

  Log Message:
  -----------
  tcx: remove primitives for non-32-bit surfaces

As all surfaces in QEMU are now either shared or 32-bit ARGB regardless of
the guest depth, remove all non-32-bit primitives from tcx_update_display()
and consequence their implementation which are no longer required.

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


  Commit: 973945804d95878375b487c0c5c9b2556c5e4543
      
https://github.com/qemu/qemu/commit/973945804d95878375b487c0c5c9b2556c5e4543
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/tcx.c

  Log Message:
  -----------
  tcx: use tcx_set_dirty() for accelerated ops

Rather than calling memory_region_set_dirty() directly, make sure that we call
tcx_set_dirty() instead. This ensures that the 24-bit plane and cplane are
also invalidated correctly.

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


  Commit: 749763864208b14f100f1f8319aeb931134430fa
      
https://github.com/qemu/qemu/commit/749763864208b14f100f1f8319aeb931134430fa
  Author: Mark Cave-Ayland <address@hidden>
  Date:   2017-04-21 (Fri, 21 Apr 2017)

  Changed paths:
    M hw/display/tcx.c
    M hw/sparc/sun4m.c

  Log Message:
  -----------
  tcx: switch to load_image_mr() and remove prom_addr hack

Previous to the existence of load_image_mr(), the only way to load in the
FCode ROM image was to pass in its physical address via qdev properties
and use load_image_targphys().

Signed-off-by: Mark Cave-Ayland <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>


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

  Changed paths:
    M hw/display/cg3.c
    M hw/display/tcx.c
    M hw/sparc/sun4m.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-signed' into 
staging

qemu-sparc update

# gpg: Signature made Fri 21 Apr 2017 20:09:35 BST
# gpg:                using RSA key 0x5BC2C56FAE0F321F
# gpg: Good signature from "Mark Cave-Ayland <address@hidden>"
# Primary key fingerprint: CC62 1AB9 8E82 200D 915C  C9C4 5BC2 C56F AE0F 321F

* remotes/mcayland/tags/qemu-sparc-signed:
  tcx: switch to load_image_mr() and remove prom_addr hack
  tcx: use tcx_set_dirty() for accelerated ops
  tcx: remove primitives for non-32-bit surfaces
  tcx: remove TARGET_PAGE_SIZE from tcx24_update_display()
  tcx: remove TARGET_PAGE_SIZE from tcx_update_display()
  tcx: remove page24 and cpage from tcx24_update_display()
  tcx: alter tcx24_reset_dirty() to accept address and length parameters
  tcx: alter tcx24_check_dirty() to accept address and length parameters
  tcx: ensure tcx_set_dirty() also invalidates the 24-bit plane and cplane
  tcx: alter tcx_set_dirty() to accept address and length parameters
  cg3: switch to load_image_mr() and remove prom-addr hack
  cg3: fix up size parameter for memory_region_get_dirty()
  cg3: remove TARGET_PAGE_SIZE rounding on dirty page detection

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/32c7e0ab7557...cd1ea50895fa

reply via email to

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