diff options
author | Dave Airlie <airlied@redhat.com> | 2011-11-11 10:26:51 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-11-11 10:28:02 +0000 |
commit | 534fb6e413a909a9d1afd57d1c711844b7c5ddf4 (patch) | |
tree | 5e513e3f24d1aa922894c9a63f2064249851e8c0 /src/drmmode_display.c | |
parent | 89452c08048c98fb5cc3dc551b3824be40d52cf2 (diff) |
ati: enable bg none when fbcon succeeds and we are built against ABI after 10.
One less patch to keep carrying in Fedora.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/drmmode_display.c')
-rw-r--r-- | src/drmmode_display.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drmmode_display.c b/src/drmmode_display.c index f9f98125..02968d51 100644 --- a/src/drmmode_display.c +++ b/src/drmmode_display.c @@ -251,6 +251,9 @@ void drmmode_copy_fb(ScrnInfoPtr pScrn, drmmode_ptr drmmode) info->accel_state->exa->DoneCopy (dst); radeon_cs_flush_indirect(pScrn); +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 10 + pScreen->canDoBGNoneRoot = TRUE; +#endif drmmode_destroy_bo_pixmap(dst); out_free_src: drmmode_destroy_bo_pixmap(src); |