Skip to content

Conversation

@stefan11111
Copy link
Contributor

According to https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39097 , and to the links I posted there, we need 2 pointers to track buffer maps, not just one.

@stefan11111
Copy link
Contributor Author

@notbabaisyou ping

@stefan11111 stefan11111 changed the title Map buffers immediately modesetting: Track both the map data and address for gpu buffers Jan 2, 2026
@stefan11111 stefan11111 force-pushed the map-buffers-immediately branch from 1a314f2 to cadb8b5 Compare January 2, 2026 14:57
@stefan11111
Copy link
Contributor Author

@metux @cepelinas9000 @notbabaisyou ping

Copy link
Contributor

@cepelinas9000 cepelinas9000 left a comment

Choose a reason for hiding this comment

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

LTGM

#endif
void* map;
void* map_data; /* Actual pixel data we are interesed in */
void* map_addr; /* Address of the map that we have to unmap */
Copy link

Choose a reason for hiding this comment

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

Would it make sense to move the map_addr definition into the ifdef above?

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