mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
Merge branch 'linux-5.3' of git://github.com/skeggsb/linux into drm-next
nouveau fixes and TU116 enablement. Signed-off-by: Dave Airlie <airlied@redhat.com> From: Ben Skeggs <skeggsb@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/CACAvsv5hZ3B4S9cVTPd2-Ug7dMSasLPJrWMyoDo4MOg8cbXWkA@mail.gmail.com
This commit is contained in:
commit
8ee7956256
@ -1,4 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# SPDX-License-Identifier: MIT
|
||||
ccflags-y += -I $(srctree)/$(src)/include
|
||||
ccflags-y += -I $(srctree)/$(src)/include/nvkm
|
||||
ccflags-y += -I $(srctree)/$(src)/nvkm
|
||||
|
@ -1,4 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# SPDX-License-Identifier: MIT
|
||||
nouveau-y += dispnv04/arb.o
|
||||
nouveau-y += dispnv04/crtc.o
|
||||
nouveau-y += dispnv04/cursor.o
|
||||
|
@ -1,4 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
// SPDX-License-Identifier: MIT
|
||||
#include <drm/drmP.h>
|
||||
#include <drm/drm_mode.h>
|
||||
#include "nouveau_drv.h"
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NV04_DISPLAY_H__
|
||||
#define __NV04_DISPLAY_H__
|
||||
#include <subdev/bios.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# SPDX-License-Identifier: MIT
|
||||
nouveau-y += dispnv50/disp.o
|
||||
nouveau-y += dispnv50/lut.o
|
||||
|
||||
|
@ -322,8 +322,13 @@ nv50_outp_atomic_check_view(struct drm_encoder *encoder,
|
||||
switch (connector->connector_type) {
|
||||
case DRM_MODE_CONNECTOR_LVDS:
|
||||
case DRM_MODE_CONNECTOR_eDP:
|
||||
/* Force use of scaler for non-EDID modes. */
|
||||
if (adjusted_mode->type & DRM_MODE_TYPE_DRIVER)
|
||||
/* Don't force scaler for EDID modes with
|
||||
* same size as the native one (e.g. different
|
||||
* refresh rate)
|
||||
*/
|
||||
if (adjusted_mode->hdisplay == native_mode->hdisplay &&
|
||||
adjusted_mode->vdisplay == native_mode->vdisplay &&
|
||||
adjusted_mode->type & DRM_MODE_TYPE_DRIVER)
|
||||
break;
|
||||
mode = native_mode;
|
||||
asyc->scaler.full = true;
|
||||
|
@ -169,14 +169,34 @@ nv50_head_atomic_check_view(struct nv50_head_atom *armh,
|
||||
*/
|
||||
switch (mode) {
|
||||
case DRM_MODE_SCALE_CENTER:
|
||||
asyh->view.oW = min((u16)umode->hdisplay, asyh->view.oW);
|
||||
asyh->view.oH = min((u16)umode_vdisplay, asyh->view.oH);
|
||||
/* fall-through */
|
||||
/* NOTE: This will cause scaling when the input is
|
||||
* larger than the output.
|
||||
*/
|
||||
asyh->view.oW = min(asyh->view.iW, asyh->view.oW);
|
||||
asyh->view.oH = min(asyh->view.iH, asyh->view.oH);
|
||||
break;
|
||||
case DRM_MODE_SCALE_ASPECT:
|
||||
if (asyh->view.oH < asyh->view.oW) {
|
||||
/* Determine whether the scaling should be on width or on
|
||||
* height. This is done by comparing the aspect ratios of the
|
||||
* sizes. If the output AR is larger than input AR, that means
|
||||
* we want to change the width (letterboxed on the
|
||||
* left/right), otherwise on the height (letterboxed on the
|
||||
* top/bottom).
|
||||
*
|
||||
* E.g. 4:3 (1.333) AR image displayed on a 16:10 (1.6) AR
|
||||
* screen will have letterboxes on the left/right. However a
|
||||
* 16:9 (1.777) AR image on that same screen will have
|
||||
* letterboxes on the top/bottom.
|
||||
*
|
||||
* inputAR = iW / iH; outputAR = oW / oH
|
||||
* outputAR > inputAR is equivalent to oW * iH > iW * oH
|
||||
*/
|
||||
if (asyh->view.oW * asyh->view.iH > asyh->view.iW * asyh->view.oH) {
|
||||
/* Recompute output width, i.e. left/right letterbox */
|
||||
u32 r = (asyh->view.iW << 19) / asyh->view.iH;
|
||||
asyh->view.oW = ((asyh->view.oH * r) + (r / 2)) >> 19;
|
||||
} else {
|
||||
/* Recompute output height, i.e. top/bottom letterbox */
|
||||
u32 r = (asyh->view.iH << 19) / asyh->view.iW;
|
||||
asyh->view.oH = ((asyh->view.oW * r) + (r / 2)) >> 19;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL0002_H__
|
||||
#define __NVIF_CL0002_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL0046_H__
|
||||
#define __NVIF_CL0046_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL006B_H__
|
||||
#define __NVIF_CL006B_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL0080_H__
|
||||
#define __NVIF_CL0080_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL506E_H__
|
||||
#define __NVIF_CL506E_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL506F_H__
|
||||
#define __NVIF_CL506F_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL5070_H__
|
||||
#define __NVIF_CL5070_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL507A_H__
|
||||
#define __NVIF_CL507A_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL507B_H__
|
||||
#define __NVIF_CL507B_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL507C_H__
|
||||
#define __NVIF_CL507C_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL507D_H__
|
||||
#define __NVIF_CL507D_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL507E_H__
|
||||
#define __NVIF_CL507E_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL826E_H__
|
||||
#define __NVIF_CL826E_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL826F_H__
|
||||
#define __NVIF_CL826F_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL906F_H__
|
||||
#define __NVIF_CL906F_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CL9097_H__
|
||||
#define __NVIF_CL9097_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CLA06F_H__
|
||||
#define __NVIF_CLA06F_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CLASS_H__
|
||||
#define __NVIF_CLASS_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CLC36F_H__
|
||||
#define __NVIF_CLC36F_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CLC37B_H__
|
||||
#define __NVIF_CLC37B_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CLC37E_H__
|
||||
#define __NVIF_CLC37E_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_CLIENT_H__
|
||||
#define __NVIF_CLIENT_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_DEVICE_H__
|
||||
#define __NVIF_DEVICE_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_DRIVER_H__
|
||||
#define __NVIF_DRIVER_H__
|
||||
#include <nvif/os.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_EVENT_H__
|
||||
#define __NVIF_EVENT_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_IF0000_H__
|
||||
#define __NVIF_IF0000_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_IF0001_H__
|
||||
#define __NVIF_IF0001_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_IF0002_H__
|
||||
#define __NVIF_IF0002_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_IF0003_H__
|
||||
#define __NVIF_IF0003_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_IF0004_H__
|
||||
#define __NVIF_IF0004_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_IF0005_H__
|
||||
#define __NVIF_IF0005_H__
|
||||
#define NV10_NVSW_NTFY_UEVENT 0x00
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_IOCTL_H__
|
||||
#define __NVIF_IOCTL_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_NOTIFY_H__
|
||||
#define __NVIF_NOTIFY_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_OBJECT_H__
|
||||
#define __NVIF_OBJECT_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NOUVEAU_OS_H__
|
||||
#define __NOUVEAU_OS_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVIF_UNPACK_H__
|
||||
#define __NVIF_UNPACK_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_CLIENT_H__
|
||||
#define __NVKM_CLIENT_H__
|
||||
#define nvkm_client(p) container_of((p), struct nvkm_client, object)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_DEBUG_H__
|
||||
#define __NVKM_DEBUG_H__
|
||||
#define NV_DBG_FATAL 0
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_DEVICE_H__
|
||||
#define __NVKM_DEVICE_H__
|
||||
#include <core/oclass.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_ENGINE_H__
|
||||
#define __NVKM_ENGINE_H__
|
||||
#define nvkm_engine(p) container_of((p), struct nvkm_engine, subdev)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_ENUM_H__
|
||||
#define __NVKM_ENUM_H__
|
||||
#include <core/os.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_EVENT_H__
|
||||
#define __NVKM_EVENT_H__
|
||||
#include <core/os.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_FIRMWARE_H__
|
||||
#define __NVKM_FIRMWARE_H__
|
||||
#include <core/subdev.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_GPUOBJ_H__
|
||||
#define __NVKM_GPUOBJ_H__
|
||||
#include <core/memory.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_IOCTL_H__
|
||||
#define __NVKM_IOCTL_H__
|
||||
#include <core/os.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_MEMORY_H__
|
||||
#define __NVKM_MEMORY_H__
|
||||
#include <core/os.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_MM_H__
|
||||
#define __NVKM_MM_H__
|
||||
#include <core/os.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_NOTIFY_H__
|
||||
#define __NVKM_NOTIFY_H__
|
||||
#include <core/os.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_OBJECT_H__
|
||||
#define __NVKM_OBJECT_H__
|
||||
#include <core/oclass.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_OPROXY_H__
|
||||
#define __NVKM_OPROXY_H__
|
||||
#define nvkm_oproxy(p) container_of((p), struct nvkm_oproxy, base)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_OPTION_H__
|
||||
#define __NVKM_OPTION_H__
|
||||
#include <core/os.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_OS_H__
|
||||
#define __NVKM_OS_H__
|
||||
#include <nvif/os.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_DEVICE_PCI_H__
|
||||
#define __NVKM_DEVICE_PCI_H__
|
||||
#include <core/device.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_RAMHT_H__
|
||||
#define __NVKM_RAMHT_H__
|
||||
#include <core/gpuobj.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_SUBDEV_H__
|
||||
#define __NVKM_SUBDEV_H__
|
||||
#include <core/device.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_DEVICE_TEGRA_H__
|
||||
#define __NVKM_DEVICE_TEGRA_H__
|
||||
#include <core/device.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_BSP_H__
|
||||
#define __NVKM_BSP_H__
|
||||
#include <engine/xtensa.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_CE_H__
|
||||
#define __NVKM_CE_H__
|
||||
#include <engine/falcon.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_CIPHER_H__
|
||||
#define __NVKM_CIPHER_H__
|
||||
#include <core/engine.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_DISP_H__
|
||||
#define __NVKM_DISP_H__
|
||||
#define nvkm_disp(p) container_of((p), struct nvkm_disp, engine)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_DMA_H__
|
||||
#define __NVKM_DMA_H__
|
||||
#include <core/engine.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_FALCON_H__
|
||||
#define __NVKM_FALCON_H__
|
||||
#define nvkm_falcon(p) container_of((p), struct nvkm_falcon, engine)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_FIFO_H__
|
||||
#define __NVKM_FIFO_H__
|
||||
#include <core/engine.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_GR_H__
|
||||
#define __NVKM_GR_H__
|
||||
#include <core/engine.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_MPEG_H__
|
||||
#define __NVKM_MPEG_H__
|
||||
#include <core/engine.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_MSENC_H__
|
||||
#define __NVKM_MSENC_H__
|
||||
#include <core/engine.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_MSPDEC_H__
|
||||
#define __NVKM_MSPDEC_H__
|
||||
#include <engine/falcon.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_MSPPP_H__
|
||||
#define __NVKM_MSPPP_H__
|
||||
#include <engine/falcon.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_MSVLD_H__
|
||||
#define __NVKM_MSVLD_H__
|
||||
#include <engine/falcon.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_NVDEC_H__
|
||||
#define __NVKM_NVDEC_H__
|
||||
#define nvkm_nvdec(p) container_of((p), struct nvkm_nvdec, engine)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_NVENC_H__
|
||||
#define __NVKM_NVENC_H__
|
||||
#include <core/engine.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_PM_H__
|
||||
#define __NVKM_PM_H__
|
||||
#include <core/engine.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_SEC_H__
|
||||
#define __NVKM_SEC_H__
|
||||
#include <engine/falcon.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_SEC2_H__
|
||||
#define __NVKM_SEC2_H__
|
||||
#include <core/engine.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_SW_H__
|
||||
#define __NVKM_SW_H__
|
||||
#include <core/engine.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_VIC_H__
|
||||
#define __NVKM_VIC_H__
|
||||
#include <core/engine.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_VP_H__
|
||||
#define __NVKM_VP_H__
|
||||
#include <engine/xtensa.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_XTENSA_H__
|
||||
#define __NVKM_XTENSA_H__
|
||||
#define nvkm_xtensa(p) container_of((p), struct nvkm_xtensa, engine)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_BAR_H__
|
||||
#define __NVKM_BAR_H__
|
||||
#include <core/subdev.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVKM_BIOS_H__
|
||||
#define __NVKM_BIOS_H__
|
||||
#include <core/subdev.h>
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_M0203_H__
|
||||
#define __NVBIOS_M0203_H__
|
||||
struct nvbios_M0203T {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_M0205_H__
|
||||
#define __NVBIOS_M0205_H__
|
||||
struct nvbios_M0205T {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_M0209_H__
|
||||
#define __NVBIOS_M0209_H__
|
||||
u32 nvbios_M0209Te(struct nvkm_bios *,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_P0260_H__
|
||||
#define __NVBIOS_P0260_H__
|
||||
u32 nvbios_P0260Te(struct nvkm_bios *,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_BIT_H__
|
||||
#define __NVBIOS_BIT_H__
|
||||
struct bit_entry {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_BMP_H__
|
||||
#define __NVBIOS_BMP_H__
|
||||
static inline u16
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_BOOST_H__
|
||||
#define __NVBIOS_BOOST_H__
|
||||
u32 nvbios_boostTe(struct nvkm_bios *, u8 *, u8 *, u8 *, u8 *, u8 *, u8 *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_CONN_H__
|
||||
#define __NVBIOS_CONN_H__
|
||||
enum dcb_connector_type {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_CSTEP_H__
|
||||
#define __NVBIOS_CSTEP_H__
|
||||
u32 nvbios_cstepTe(struct nvkm_bios *,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_DCB_H__
|
||||
#define __NVBIOS_DCB_H__
|
||||
enum dcb_output_type {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_DISP_H__
|
||||
#define __NVBIOS_DISP_H__
|
||||
u16 nvbios_disp_table(struct nvkm_bios *,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_DP_H__
|
||||
#define __NVBIOS_DP_H__
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0 */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef __NVBIOS_EXTDEV_H__
|
||||
#define __NVBIOS_EXTDEV_H__
|
||||
enum nvbios_extdev_type {
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user