Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Upgrade to 4.4.50-rt62
[kvmfornfv.git]
/
kernel
/
drivers
/
gpu
/
drm
/
amd
/
amdgpu
/
amdgpu_mode.h
diff --git
a/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
b/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
index
064ebb3
..
89df787
100644
(file)
--- a/
kernel/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
+++ b/
kernel/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
@@
-52,7
+52,7
@@
struct amdgpu_hpd;
#define AMDGPU_MAX_HPD_PINS 6
#define AMDGPU_MAX_CRTCS 6
#define AMDGPU_MAX_HPD_PINS 6
#define AMDGPU_MAX_CRTCS 6
-#define AMDGPU_MAX_AFMT_BLOCKS
7
+#define AMDGPU_MAX_AFMT_BLOCKS
9
enum amdgpu_rmx_type {
RMX_OFF,
enum amdgpu_rmx_type {
RMX_OFF,
@@
-308,8
+308,8
@@
struct amdgpu_mode_info {
struct atom_context *atom_context;
struct card_info *atom_card_info;
bool mode_config_initialized;
struct atom_context *atom_context;
struct card_info *atom_card_info;
bool mode_config_initialized;
- struct amdgpu_crtc *crtcs[
6
];
- struct amdgpu_afmt *afmt[
7
];
+ struct amdgpu_crtc *crtcs[
AMDGPU_MAX_CRTCS
];
+ struct amdgpu_afmt *afmt[
AMDGPU_MAX_AFMT_BLOCKS
];
/* DVI-I properties */
struct drm_property *coherent_mode_property;
/* DAC enable load detect */
/* DVI-I properties */
struct drm_property *coherent_mode_property;
/* DAC enable load detect */