diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-07-25 15:41:56 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-07-25 15:41:56 +0200 |
commit | 7433914efd584b22bb49d3e1eee001f5d0525ecd (patch) | |
tree | 336d2501e243b6fcaf72e1017f2ed70e670f0670 /sound/firewire/lib.c | |
parent | udlfb: set line_length in dlfb_ops_set_par (diff) | |
download | linux-7433914efd584b22bb49d3e1eee001f5d0525ecd.tar.xz linux-7433914efd584b22bb49d3e1eee001f5d0525ecd.zip |
udlfb: allow reallocating the framebuffer
This patch changes udlfb so that it may reallocate the framebuffer when
setting higher-resolution mode. If we boot the system without monitor
attached, udlfb creates a framebuffer with the size 800x600. This patch
makes it possible to select higher videomode with the fbset command when
a monitor is attached.
Note that there is no reliable way to prevent the system from touching the
old framebuffer, so we must not free it. We add it to the list
dlfb->deferred_free and free it when the driver is unloaded.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
[b.zolnierkie: sparse fixes]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'sound/firewire/lib.c')
0 files changed, 0 insertions, 0 deletions