Instead of calculating the size in bytes just to recalculate the number of pages from it pass the BO directly to the function. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Roger He <Hongbo.He@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> |
||
|---|---|---|
| .. | ||
| hgsmi_base.c | ||
| hgsmi_ch_setup.h | ||
| hgsmi_channels.h | ||
| hgsmi_defs.h | ||
| Kconfig | ||
| Makefile | ||
| modesetting.c | ||
| TODO | ||
| vbox_drv.c | ||
| vbox_drv.h | ||
| vbox_err.h | ||
| vbox_fb.c | ||
| vbox_hgsmi.c | ||
| vbox_irq.c | ||
| vbox_main.c | ||
| vbox_mode.c | ||
| vbox_prime.c | ||
| vbox_ttm.c | ||
| vboxvideo.h | ||
| vboxvideo_guest.h | ||
| vboxvideo_vbe.h | ||
| vbva_base.c | ||