cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

dcn303_hwseq.c (884B)


      1// SPDX-License-Identifier: MIT
      2/*
      3 * Copyright (C) 2021 Advanced Micro Devices, Inc.
      4 *
      5 * Authors: AMD
      6 */
      7
      8#include "dcn303_hwseq.h"
      9
     10#include "dce/dce_hwseq.h"
     11
     12#include "reg_helper.h"
     13#include "dc.h"
     14
     15#define DC_LOGGER_INIT(logger)
     16
     17#define CTX \
     18	hws->ctx
     19#define REG(reg)\
     20	hws->regs->reg
     21
     22#undef FN
     23#define FN(reg_name, field_name) \
     24	hws->shifts->field_name, hws->masks->field_name
     25
     26
     27void dcn303_dpp_pg_control(struct dce_hwseq *hws, unsigned int dpp_inst, bool power_on)
     28{
     29	/*DCN303 removes PG registers*/
     30}
     31
     32void dcn303_hubp_pg_control(struct dce_hwseq *hws, unsigned int hubp_inst, bool power_on)
     33{
     34	/*DCN303 removes PG registers*/
     35}
     36
     37void dcn303_dsc_pg_control(struct dce_hwseq *hws, unsigned int dsc_inst, bool power_on)
     38{
     39	/*DCN303 removes PG registers*/
     40}
     41
     42void dcn303_enable_power_gating_plane(struct dce_hwseq *hws, bool enable)
     43{
     44	/*DCN303 removes PG registers*/
     45}