drivers/gpu/drm/amd/display/dc/resource/Makefile

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/display/dc/resource/Makefile

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/amd/display/dc/resource/Makefile
Extension
[no extension]
Size
8605 bytes
Lines
251
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# Copyright 2022 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
#
# Makefile for the 'resource' sub-component of DAL.
#


###############################################################################
#  DCE
###############################################################################

ifdef CONFIG_DRM_AMD_DC_SI
RESOURCE_DCE60 = dce60_resource.o

AMD_DAL_RESOURCE_DCE60 = $(addprefix $(AMDDALPATH)/dc/resource/dce60/,$(RESOURCE_DCE60))

AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE60)
endif

###############################################################################

RESOURCE_DCE80 = dce80_resource.o

AMD_DAL_RESOURCE_DCE80 = $(addprefix $(AMDDALPATH)/dc/resource/dce80/,$(RESOURCE_DCE80))

AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE80)

###############################################################################

RESOURCE_DCE100 = dce100_resource.o

AMD_DAL_RESOURCE_DCE100 = $(addprefix $(AMDDALPATH)/dc/resource/dce100/,$(RESOURCE_DCE100))

AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE100)

###############################################################################

RESOURCE_DCE110 = dce110_resource.o

AMD_DAL_RESOURCE_DCE110 = $(addprefix $(AMDDALPATH)/dc/resource/dce110/,$(RESOURCE_DCE110))

AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE110)

###############################################################################

RESOURCE_DCE112 = dce112_resource.o

AMD_DAL_RESOURCE_DCE112 = $(addprefix $(AMDDALPATH)/dc/resource/dce112/,$(RESOURCE_DCE112))

AMD_DISPLAY_FILES += $(AMD_DAL_RESOURCE_DCE112)

###############################################################################

Annotation

Implementation Notes