drm: always set DRM_MODE_ATOMIC_ALLOW_MODESET for now.
That seems to make DC happier when we change the src and dst rects.
This commit is contained in:
parent
bb52b60301
commit
b306714f3c
1 changed files with 2 additions and 1 deletions
|
@ -749,7 +749,8 @@ bool drm_can_avoid_composite( struct drm_t *drm, struct Composite_t *pComposite,
|
|||
uint32_t flags = DRM_MODE_ATOMIC_NONBLOCK;
|
||||
uint32_t blob_id;
|
||||
|
||||
if ( bFirstSwap == true )
|
||||
// Temporary hack until we figure out what AMDGPU DC expects when changing the dest rect
|
||||
if ( 1 || bFirstSwap == true )
|
||||
{
|
||||
flags |= DRM_MODE_ATOMIC_ALLOW_MODESET;
|
||||
bFirstSwap = false;
|
||||
|
|
Loading…
Reference in a new issue