You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: 2.0.9 Reported for operating system, platform: Linux, ARM
Comments on the original bug report:
On 2018-11-30 12:04:26 +0000, Sergey Zhuravlevich wrote:
Created attachment 3515
PATCH: Check for resources when validating KMSDRM device in check_modesetting.
On our imx51 based platform card1 is the right card to use for rendering and card0 has zero connectors, encoders and CRTCs. This patch adds a check for resources to device selection routine so the right card could be picked on any platform.
On 2018-12-01 17:59:16 +0000, Ryan C. Gordon wrote:
Just to verify: the call to KMSDRM_drmModeFreeResources() needs to happen if resources != NULL, but right now it's happening only in here:
if (resources->count_connectors > 0 && resources->count_encoders > 0 && resources->count_crtcs > 0) {
available = SDL_TRUE;
KMSDRM_drmModeFreeResources(resources);
}
...should I move that outside of the if statement?
--ryan.
On 2018-12-01 18:27:41 +0000, Sergey Zhuravlevich wrote:
(In reply to Ryan C. Gordon from comment # 1)
Just to verify: the call to KMSDRM_drmModeFreeResources() needs to happen if
resources != NULL, but right now it's happening only in here:
if (resources->count_connectors > 0 && resources->count_encoders > 0 &&
resources->count_crtcs > 0) {
available = SDL_TRUE;
KMSDRM_drmModeFreeResources(resources);
}
...should I move that outside of the if statement?
--ryan.
Yes, sure, that was my mistake. Thanks for noticing!
On 2018-12-01 21:32:54 +0000, Ryan C. Gordon wrote:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.9
Reported for operating system, platform: Linux, ARM
Comments on the original bug report:
On 2018-11-30 12:04:26 +0000, Sergey Zhuravlevich wrote:
On 2018-12-01 17:59:16 +0000, Ryan C. Gordon wrote:
On 2018-12-01 18:27:41 +0000, Sergey Zhuravlevich wrote:
On 2018-12-01 21:32:54 +0000, Ryan C. Gordon wrote:
The text was updated successfully, but these errors were encountered: