Remove ALLOW_MODESET workaround
This is no longer needed as of Linux 5.10. Closes: https://github.com/Plagman/gamescope/issues/67
This commit is contained in:
parent
072599c037
commit
cf8cf60a37
1 changed files with 1 additions and 2 deletions
|
@ -892,8 +892,7 @@ bool drm_prepare( struct drm_t *drm, struct Composite_t *pComposite, struct Vulk
|
|||
static bool bFirstSwap = true;
|
||||
uint32_t flags = DRM_MODE_ATOMIC_NONBLOCK;
|
||||
|
||||
// Temporary hack until we figure out what AMDGPU DC expects when changing the dest rect
|
||||
if ( 1 || bFirstSwap == true )
|
||||
if ( bFirstSwap == true )
|
||||
{
|
||||
flags |= DRM_MODE_ATOMIC_ALLOW_MODESET;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue