Module: Mesa Branch: staging/21.1 Commit: ca191e1254d4c72767d389d72b1a63da727e6ef8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca191e1254d4c72767d389d72b1a63da727e6ef8
Author: Icecream95 <[email protected]> Date: Sat May 1 22:44:45 2021 +1200 panfrost: Make pan_select_crc_rt a non-static function Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10566> (cherry picked from commit 1c58614ceec106b6b0e7b76c5f33bfe489a37c2f) --- .pick_status.json | 2 +- src/panfrost/lib/pan_cs.c | 2 +- src/panfrost/lib/pan_cs.h | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index f3955ac9a65..e69dacad39f 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -4018,7 +4018,7 @@ "description": "panfrost: Make pan_select_crc_rt a non-static function", "nominated": false, "nomination_type": null, - "resolution": 4, + "resolution": 1, "master_sha": null, "because_sha": null }, diff --git a/src/panfrost/lib/pan_cs.c b/src/panfrost/lib/pan_cs.c index 73cb74340a3..199e6552443 100644 --- a/src/panfrost/lib/pan_cs.c +++ b/src/panfrost/lib/pan_cs.c @@ -294,7 +294,7 @@ pan_sample_pattern(unsigned samples) } } -static int +int pan_select_crc_rt(const struct panfrost_device *dev, const struct pan_fb_info *fb) { if (dev->arch < 7) { diff --git a/src/panfrost/lib/pan_cs.h b/src/panfrost/lib/pan_cs.h index ac27f688d00..e3e67d3bcb8 100644 --- a/src/panfrost/lib/pan_cs.h +++ b/src/panfrost/lib/pan_cs.h @@ -135,6 +135,10 @@ bool pan_fbd_has_zs_crc_ext(const struct panfrost_device *dev, const struct pan_fb_info *fb); +int +pan_select_crc_rt(const struct panfrost_device *dev, + const struct pan_fb_info *fb); + unsigned pan_emit_fbd(const struct panfrost_device *dev, const struct pan_fb_info *fb, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
