Prdm1 promotes immune evasion by upregulating PD-L1 expression in immune-competent mice and HCC cells. Here, CD274 is linked to hepatocellular carcinoma.