[PATCH 0/6] hppa: Artist graphics driver fixes for HP-UX

Helge Deller posted 6 patches 1 year, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220511235054.185435-1-deller@gmx.de
hw/display/artist.c       | 134 +++++++++++++++++++++++++++++---------
pc-bios/hppa-firmware.img | Bin 701964 -> 715240 bytes
roms/seabios-hppa         |   2 +-
3 files changed, 106 insertions(+), 30 deletions(-)
[PATCH 0/6] hppa: Artist graphics driver fixes for HP-UX
Posted by Helge Deller 1 year, 11 months ago
This series adds additional HP fonts to the SeaBIOS-hppa firmware.

And in the qemu artist graphics driver it:
- fixes the vertical postioning of the X11 cursor with HP-UX
- allows X11 to blank the screen (e.g. screensaver)
- allows the X11 driver to turn the X11 cursor on/off

Signed-off-by: Helge Deller <deller@gmx.de>

Helge Deller (6):
  seabios-hppa: Update SeaBIOS-hppa to VERSION 4
  artist: Introduce constant for max cursor size
  artist: Use human-readable variable names instead of reg_xxx
  artist: Fix vertical X11 cursor position in HP-UX
  artist: Allow to turn cursor on or off
  artist: Emulate screen blanking

 hw/display/artist.c       | 134 +++++++++++++++++++++++++++++---------
 pc-bios/hppa-firmware.img | Bin 701964 -> 715240 bytes
 roms/seabios-hppa         |   2 +-
 3 files changed, 106 insertions(+), 30 deletions(-)

--
2.35.3
Re: [PATCH 0/6] hppa: Artist graphics driver fixes for HP-UX
Posted by Mark Cave-Ayland 1 year, 11 months ago
On 12/05/2022 00:50, Helge Deller wrote:

> This series adds additional HP fonts to the SeaBIOS-hppa firmware.
> 
> And in the qemu artist graphics driver it:
> - fixes the vertical postioning of the X11 cursor with HP-UX
> - allows X11 to blank the screen (e.g. screensaver)
> - allows the X11 driver to turn the X11 cursor on/off
> 
> Signed-off-by: Helge Deller <deller@gmx.de>
> 
> Helge Deller (6):
>    seabios-hppa: Update SeaBIOS-hppa to VERSION 4
>    artist: Introduce constant for max cursor size
>    artist: Use human-readable variable names instead of reg_xxx
>    artist: Fix vertical X11 cursor position in HP-UX
>    artist: Allow to turn cursor on or off
>    artist: Emulate screen blanking
> 
>   hw/display/artist.c       | 134 +++++++++++++++++++++++++++++---------
>   pc-bios/hppa-firmware.img | Bin 701964 -> 715240 bytes
>   roms/seabios-hppa         |   2 +-
>   3 files changed, 106 insertions(+), 30 deletions(-)
> 
> --
> 2.35.3

I've applied these patches to latest git and done a quick test with my cut-down Linux 
image and the latest HPPA image at https://parisc.wiki.kernel.org/index.php/Qemu, and 
confirmed I can successfully switch fonts without seeing any other graphical issues. 
This isn't a particularly comprehensive test though, since I don't have a copy of 
HP-UX and the latest HPPA image doesn't have X installed.

 From a general QEMU perspective the patches look okay, except for the separate patch 
posted after the original series which fails checkpatch due to styling issues around 
the block comments. It is possible to do this directly on a checkout of the git 
source tree with "./scripts/checkpatch.pl master..HEAD", or once you have the final 
PR ready to go then a push to GitLab to confirm it passes CI should help locate any 
potential problems.

I don't have any knowledge of the internals of the artist framebuffer, but feel free 
to add an:

Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

when you respin the v2. It's not far off a Tested-by but I don't feel I can offer 
that without being able to test a HP-UX X environment.


ATB,

Mark.
Re: [PATCH 0/6] hppa: Artist graphics driver fixes for HP-UX
Posted by Helge Deller 1 year, 11 months ago
On 5/16/22 09:19, Mark Cave-Ayland wrote:
> On 12/05/2022 00:50, Helge Deller wrote:
>
>> This series adds additional HP fonts to the SeaBIOS-hppa firmware.
>>
>> And in the qemu artist graphics driver it:
>> - fixes the vertical postioning of the X11 cursor with HP-UX
>> - allows X11 to blank the screen (e.g. screensaver)
>> - allows the X11 driver to turn the X11 cursor on/off
>>
>> Signed-off-by: Helge Deller <deller@gmx.de>
>>
>> Helge Deller (6):
>>    seabios-hppa: Update SeaBIOS-hppa to VERSION 4
>>    artist: Introduce constant for max cursor size
>>    artist: Use human-readable variable names instead of reg_xxx
>>    artist: Fix vertical X11 cursor position in HP-UX
>>    artist: Allow to turn cursor on or off
>>    artist: Emulate screen blanking
>>
>>   hw/display/artist.c       | 134 +++++++++++++++++++++++++++++---------
>>   pc-bios/hppa-firmware.img | Bin 701964 -> 715240 bytes
>>   roms/seabios-hppa         |   2 +-
>>   3 files changed, 106 insertions(+), 30 deletions(-)
>>
>> --
>> 2.35.3
>
> I've applied these patches to latest git and done a quick test with
> my cut-down Linux image and the latest HPPA image at
> https://parisc.wiki.kernel.org/index.php/Qemu, and confirmed I can
> successfully switch fonts without seeing any other graphical issues.
> This isn't a particularly comprehensive test though, since I don't
> have a copy of HP-UX and the latest HPPA image doesn't have X
> installed.

Thanks for testing anyway. I agree, there are not many people who
can test the HP-UX graphics changes...

> From a general QEMU perspective the patches look okay, except for the
> separate patch posted after the original series which fails
> checkpatch due to styling issues around the block comments.

Argh... I just sent out v2 but missed to fix the style issues.
Please ignore v2 - I will send out a v3 soon....

> It is possible to do this directly on a checkout of the git source
> tree with "./scripts/checkpatch.pl master..HEAD", or once you have
> the final PR ready to go then a push to GitLab to confirm it passes
> CI should help locate any potential problems.

Can you give some more info about this GitLab integration?
I'm currently using github for my tree...

> I don't have any knowledge of the internals of the artist framebuffer, but feel free to add an:
>
> Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
>
> when you respin the v2. It's not far off a Tested-by but I don't feel I can offer that without being able to test a HP-UX X environment.

Thanks!

Helge
Re: [PATCH 0/6] hppa: Artist graphics driver fixes for HP-UX
Posted by Mark Cave-Ayland 1 year, 11 months ago
On 16/05/2022 15:43, Helge Deller wrote:

> On 5/16/22 09:19, Mark Cave-Ayland wrote:
>> On 12/05/2022 00:50, Helge Deller wrote:
>>
>>> This series adds additional HP fonts to the SeaBIOS-hppa firmware.
>>>
>>> And in the qemu artist graphics driver it:
>>> - fixes the vertical postioning of the X11 cursor with HP-UX
>>> - allows X11 to blank the screen (e.g. screensaver)
>>> - allows the X11 driver to turn the X11 cursor on/off
>>>
>>> Signed-off-by: Helge Deller <deller@gmx.de>
>>>
>>> Helge Deller (6):
>>>     seabios-hppa: Update SeaBIOS-hppa to VERSION 4
>>>     artist: Introduce constant for max cursor size
>>>     artist: Use human-readable variable names instead of reg_xxx
>>>     artist: Fix vertical X11 cursor position in HP-UX
>>>     artist: Allow to turn cursor on or off
>>>     artist: Emulate screen blanking
>>>
>>>    hw/display/artist.c       | 134 +++++++++++++++++++++++++++++---------
>>>    pc-bios/hppa-firmware.img | Bin 701964 -> 715240 bytes
>>>    roms/seabios-hppa         |   2 +-
>>>    3 files changed, 106 insertions(+), 30 deletions(-)
>>>
>>> --
>>> 2.35.3
>>
>> I've applied these patches to latest git and done a quick test with
>> my cut-down Linux image and the latest HPPA image at
>> https://parisc.wiki.kernel.org/index.php/Qemu, and confirmed I can
>> successfully switch fonts without seeing any other graphical issues.
>> This isn't a particularly comprehensive test though, since I don't
>> have a copy of HP-UX and the latest HPPA image doesn't have X
>> installed.
> 
> Thanks for testing anyway. I agree, there are not many people who
> can test the HP-UX graphics changes...

:)

>>  From a general QEMU perspective the patches look okay, except for the
>> separate patch posted after the original series which fails
>> checkpatch due to styling issues around the block comments.
> 
> Argh... I just sent out v2 but missed to fix the style issues.
> Please ignore v2 - I will send out a v3 soon....
> 
>> It is possible to do this directly on a checkout of the git source
>> tree with "./scripts/checkpatch.pl master..HEAD", or once you have
>> the final PR ready to go then a push to GitLab to confirm it passes
>> CI should help locate any potential problems.
> 
> Can you give some more info about this GitLab integration?
> I'm currently using github for my tree...

Sure! Simply create an account on GitLab, log in, and then create a fork of the QEMU 
repository at https://gitlab.com/qemu-project/qemu. If you then add your personal 
fork of the QEMU repository as a git remote and push a branch to it, the GitLab 
infrastructure will run the in-tree CI which you can track from the menu at "CI/CD" 
-> "Pipelines".

This is almost identical to the gating CI used for merges, so a pass is a good 
indicator that the branch/PR doesn't cause any expected regressions. However I don't 
know if there is a HPPA image included as part of the CI tests.

>> I don't have any knowledge of the internals of the artist framebuffer, but feel free to add an:
>>
>> Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
>>
>> when you respin the v2. It's not far off a Tested-by but I don't feel I can offer that without being able to test a HP-UX X environment.


ATB,

Mark.