Skip to content

feature(lvgl_port): RGB888 SIMD fill#480

Merged
pborcin merged 1 commit intoespressif:masterfrom
pborcin:rgb888_accel
Feb 10, 2025
Merged

feature(lvgl_port): RGB888 SIMD fill#480
pborcin merged 1 commit intoespressif:masterfrom
pborcin:rgb888_accel

Conversation

@pborcin
Copy link
Copy Markdown
Collaborator

@pborcin pborcin commented Jan 14, 2025

This MR adds SIMD support for LV_DRAW_SW_COLOR_BLEND_TO_RGB888

ESP-BSP Pull Request checklist

Note: For new BSPs create a PR with this link.

  • Version of modified component bumped
  • CI passing

Change description

  • esp32s3 SIMD assembly implementation of the RGB888 simple fill
  • esp32 assembly implementation of the RGB888 simple fill
  • Functionality and benchmark tests
  • Updated README with achieved benchmark results

Copy link
Copy Markdown
Collaborator

@peter-marcisovsky peter-marcisovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pborcin thanks for the changes. Nice work with the switch-case implementation. I have never tried that myself (did not have a proper use case) but this looks like a good one.

Sorry for the review comments regarding your style of commenting, but as you might have seen the assembly is very hard be read and to be navigated through and commenting makes it bit easier for us to know what is going on and which buffer are you aligning and where to are you jumping. Thank you.

I will also try the test app and let you know.

Comment thread components/esp_lvgl_port/test_apps/simd/README.md Outdated
Comment thread components/esp_lvgl_port/test_apps/simd/main/test_lv_fill_benchmark.c Outdated
Comment thread components/esp_lvgl_port/src/lvgl9/simd/lv_color_blend_to_rgb888_esp32s3.S Outdated
Comment thread components/esp_lvgl_port/src/lvgl9/simd/lv_color_blend_to_rgb888_esp32s3.S Outdated
Comment thread components/esp_lvgl_port/src/lvgl9/simd/lv_color_blend_to_rgb888_esp32s3.S Outdated
@pborcin pborcin force-pushed the rgb888_accel branch 2 times, most recently from 3da85ab to 234966a Compare January 22, 2025 10:29
@pborcin pborcin force-pushed the rgb888_accel branch 5 times, most recently from 2d7a665 to 0762ba6 Compare January 29, 2025 10:13
Copy link
Copy Markdown
Collaborator

@peter-marcisovsky peter-marcisovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the build errors I have described. Thank you.

Comment thread components/esp_lvgl_port/test_apps/simd/main/test_lv_fill_functionality.c Outdated
Comment thread components/esp_lvgl_port/test_apps/simd/main/test_lv_fill_functionality.c Outdated
Comment thread components/esp_lvgl_port/test_apps/simd/main/test_lv_fill_functionality.c Outdated
@pborcin pborcin force-pushed the rgb888_accel branch 5 times, most recently from 70a2958 to ded1548 Compare February 4, 2025 13:05
Copy link
Copy Markdown
Collaborator

@peter-marcisovsky peter-marcisovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pborcin works fine now.
Thank you for the update, nice work.

@tore-espressif tore-espressif added this to the esp_lvgl_port 2.5.0 milestone Feb 10, 2025
@pborcin pborcin merged commit 35a10dc into espressif:master Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants