Skip to content

Conversation

@AngryLoki
Copy link
Contributor

Motivation

Originally reported in https://bugs.gentoo.org/967246. amdsmi fails to compile with the latest libdrm-2.4.130 with error: redefinition of 'struct drm_color_ctm_3x4'.

drm_color_ctm_3x4 structure is now defined in torvalds/linux@e5719e7#diff-4c51fb416ec7cc69566cd7b795ee57eb070aa1006ad65d6962081f039ffb2718

Technical Details

As this structure is unused and not a part of amdsmi public interface, it is safe to remove it.

Test Plan

N/A, it's a dead code removal, which fixes compilation error.

Test Result

It compiles with libdrm-2.4.130

Submission Checklist

Fix error: redefinition of 'struct drm_color_ctm_3x4'.

drm_color_ctm_3x4 structure is now defined in torvalds/linux@e5719e7#diff-4c51fb416ec7cc69566cd7b795ee57eb070aa1006ad65d6962081f039ffb2718

As this structure is unused and not a part of amdsmi public interface,
it is safe to remove it.
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.

1 participant