Knockdown of ATG5 and ATG7 prevented autophagy and up-regulated PD-L1 protein in gastric cancer cells. Here, ATG7 is linked to gastric cancer.