Commit 949ab38a authored by Karol Herbst's avatar Karol Herbst

drm/nouveau/disp: drop unused argument in nv50_dp_mode_valid

Signed-off-by: default avatarKarol Herbst <kherbst@redhat.com>
Reviewed-by: default avatarBen Skeggs <bskeggs@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230628212248.3798605-2-kherbst@redhat.com
parent ca3545cf
...@@ -1124,7 +1124,7 @@ nv50_mstc_mode_valid(struct drm_connector *connector, ...@@ -1124,7 +1124,7 @@ nv50_mstc_mode_valid(struct drm_connector *connector,
* MSTB's max possible PBN * MSTB's max possible PBN
*/ */
return nv50_dp_mode_valid(connector, outp, mode, NULL); return nv50_dp_mode_valid(outp, mode, NULL);
} }
static int static int
......
...@@ -1082,7 +1082,7 @@ nouveau_connector_mode_valid(struct drm_connector *connector, ...@@ -1082,7 +1082,7 @@ nouveau_connector_mode_valid(struct drm_connector *connector,
case DCB_OUTPUT_TV: case DCB_OUTPUT_TV:
return get_slave_funcs(encoder)->mode_valid(encoder, mode); return get_slave_funcs(encoder)->mode_valid(encoder, mode);
case DCB_OUTPUT_DP: case DCB_OUTPUT_DP:
return nv50_dp_mode_valid(connector, nv_encoder, mode, NULL); return nv50_dp_mode_valid(nv_encoder, mode, NULL);
default: default:
BUG(); BUG();
return MODE_BAD; return MODE_BAD;
......
...@@ -267,8 +267,7 @@ nouveau_dp_irq(struct work_struct *work) ...@@ -267,8 +267,7 @@ nouveau_dp_irq(struct work_struct *work)
* yet) * yet)
*/ */
enum drm_mode_status enum drm_mode_status
nv50_dp_mode_valid(struct drm_connector *connector, nv50_dp_mode_valid(struct nouveau_encoder *outp,
struct nouveau_encoder *outp,
const struct drm_display_mode *mode, const struct drm_display_mode *mode,
unsigned *out_clock) unsigned *out_clock)
{ {
......
...@@ -143,8 +143,7 @@ enum nouveau_dp_status { ...@@ -143,8 +143,7 @@ enum nouveau_dp_status {
int nouveau_dp_detect(struct nouveau_connector *, struct nouveau_encoder *); int nouveau_dp_detect(struct nouveau_connector *, struct nouveau_encoder *);
bool nouveau_dp_link_check(struct nouveau_connector *); bool nouveau_dp_link_check(struct nouveau_connector *);
void nouveau_dp_irq(struct work_struct *); void nouveau_dp_irq(struct work_struct *);
enum drm_mode_status nv50_dp_mode_valid(struct drm_connector *, enum drm_mode_status nv50_dp_mode_valid(struct nouveau_encoder *,
struct nouveau_encoder *,
const struct drm_display_mode *, const struct drm_display_mode *,
unsigned *clock); unsigned *clock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment