mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 11:04:58 -06:00
hw/display/cirrus_vga: Convert debug printf() to trace event
Convert the final bit of DEBUG_BITBLT to a tracepoint. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20200526062252.19852-7-f4bug@amsat.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
2b55f4d350
commit
6152772174
2 changed files with 11 additions and 14 deletions
|
@ -53,7 +53,6 @@
|
|||
*/
|
||||
|
||||
//#define DEBUG_CIRRUS
|
||||
//#define DEBUG_BITBLT
|
||||
|
||||
/***************************************
|
||||
*
|
||||
|
@ -950,19 +949,16 @@ static void cirrus_bitblt_start(CirrusVGAState * s)
|
|||
s->cirrus_blt_dstaddr &= s->cirrus_addr_mask;
|
||||
s->cirrus_blt_srcaddr &= s->cirrus_addr_mask;
|
||||
|
||||
#ifdef DEBUG_BITBLT
|
||||
printf("rop=0x%02x mode=0x%02x modeext=0x%02x w=%d h=%d dpitch=%d spitch=%d daddr=0x%08x saddr=0x%08x writemask=0x%02x\n",
|
||||
blt_rop,
|
||||
s->cirrus_blt_mode,
|
||||
s->cirrus_blt_modeext,
|
||||
s->cirrus_blt_width,
|
||||
s->cirrus_blt_height,
|
||||
s->cirrus_blt_dstpitch,
|
||||
s->cirrus_blt_srcpitch,
|
||||
s->cirrus_blt_dstaddr,
|
||||
s->cirrus_blt_srcaddr,
|
||||
s->vga.gr[0x2f]);
|
||||
#endif
|
||||
trace_vga_cirrus_bitblt_start(blt_rop,
|
||||
s->cirrus_blt_mode,
|
||||
s->cirrus_blt_modeext,
|
||||
s->cirrus_blt_width,
|
||||
s->cirrus_blt_height,
|
||||
s->cirrus_blt_dstpitch,
|
||||
s->cirrus_blt_srcpitch,
|
||||
s->cirrus_blt_dstaddr,
|
||||
s->cirrus_blt_srcaddr,
|
||||
s->vga.gr[0x2f]);
|
||||
|
||||
switch (s->cirrus_blt_mode & CIRRUS_BLTMODE_PIXELWIDTHMASK) {
|
||||
case CIRRUS_BLTMODE_PIXELWIDTH8:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue