mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-07 19:18:08 +00:00
display/intel: translate ENOSPC into text message
This commit is contained in:
parent
4a2319a4d6
commit
c167e86d87
@ -600,8 +600,10 @@ static int fb_client_hotplug(struct drm_client_dev *client)
|
|||||||
/* triggers disablement of encoders attached to disconnected ports */
|
/* triggers disablement of encoders attached to disconnected ports */
|
||||||
result = drm_client_modeset_commit(client);
|
result = drm_client_modeset_commit(client);
|
||||||
|
|
||||||
if (result)
|
if (result) {
|
||||||
printk("%s: error on modeset commit %d\n", __func__, result);
|
printk("%s: error on modeset commit %d%s\n", __func__, result,
|
||||||
|
(result == -ENOSPC) ? " - insufficient amount of RAM for framebuffer" : "");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* notify Genode side */
|
/* notify Genode side */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user