Skip to content

Instantly share code, notes, and snippets.

View sponge's full-sized avatar
💭
hello what is this why is this

sponge sponge

💭
hello what is this why is this
View GitHub Profile
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -2006,6 +2006,10 @@
if (amdgpu_ip_version(adev, DCE_HWIP, 0) >= IP_VERSION(3, 0, 0))
init_data.num_virtual_links = 1;
+ /* Disable DP SS for Cyan Skillfish */
+ if (adev->apu_flags & AMD_APU_IS_CYAN_SKILLFISH2)
+ init_data.flags.ignore_dpref_ss = true;
+
--
-- UPDATE
--
local accum = 0
function Game:update(dt)
accum = accum + dt
if (accum < 1/60) then
return
end
//
// main.h
// HelloSDL
//
// Created by Richard Carter on 5/30/11.
// Copyright 2011 Richard Carter. All rights reserved.
//
static const int tile_size = 16;
static const int window_width = 800;